Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-22-2009, 09:08 AM   PM User | #1
Phil Jackson
Senior Coder

 
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
Phil Jackson is on a distinguished road
dont what.. might be charset

Hi, just had a browse through my site and realised IE 6 and 7 do not output correct data from my "custom hosting package" form.

http://hosting.actwebdesigns.co.uk

Im getting squares with circles inside. (never seen this before)

This be the jQuery side:

Code:
// JavaScript Document
jQuery(document).ready(hostCalc);
function hostCalc() {
    $("select").change(function () {
        var diskSpace = $("#diskSpace :selected").text();
        var bandwidth = $("#bandwidth :selected").text();
        var subDomains = $("#subDomains :selected").text();
        var additionalFTP = $("#additionalFTP :selected").text();
        var mysqlDatabases = $("#mysqlDatabases :selected").text();
        var emailForwarding = $("#emailForwarding :selected").text();
        var AutoResponders = $("#autoResponders :selected").text();
        var emailDistributionLists = $("#emailDistributionLists :selected").text();
        var mailBoxes = $("#mailBoxes :selected").text();
        var operatingSystem = $("#operatingSystem :selected").text();
        var oneClick = $("#oneClick :selected").text();

        $.ajax({
            type: "GET",
            data: 'diskSpace=' + diskSpace + '&bandwidth=' + bandwidth + '&subDomains=' + subDomains + '&additionalFTP=' + additionalFTP + '&mysqlDatabases=' + mysqlDatabases + '&emailForwarding=' + emailForwarding + '&AutoResponders=' + AutoResponders + '&emailDistributionLists=' + emailDistributionLists + '&mailBoxes=' + mailBoxes + '&operatingSystem=' + operatingSystem + '&oneClick=' + oneClick,
            url: 'hostCalc.php',
            cache: false,
            timeout: 7000,
            error: function () {
                $("#cost").html("error");
            },
            success: function (html) {
                $("#cost").html(html);
            }
        });
    });
}
__________________
Website Design Mansfield
PHP Code:
function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
echo 
I_LOVE(); 
Phil Jackson is offline   Reply With Quote
Old 09-22-2009, 09:25 AM   PM User | #2
seco
Regular Coder

 
seco's Avatar
 
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
seco has a little shameless behaviour in the past
sounds like charset, do they show where a space might be?
seco is offline   Reply With Quote
Old 09-22-2009, 09:48 AM   PM User | #3
Phil Jackson
Senior Coder

 
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
Phil Jackson is on a distinguished road
no, no white space. cant understand it due to if the PHP side is working in one browser it should work in another yes? So that leaves the jQuery, but i cant see any problem..
__________________
Website Design Mansfield
PHP Code:
function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
echo 
I_LOVE(); 
Phil Jackson is offline   Reply With Quote
Old 09-22-2009, 09:50 AM   PM User | #4
seco
Regular Coder

 
seco's Avatar
 
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
seco has a little shameless behaviour in the past
i did a mysql insert from a file yesterday, it had some spaces in a couple of the rows, when the query finished those spaces ended up at the square with the circles in it "in phpmyadmin - browse". im not really sure what it is. was in FF latest.



Last edited by seco; 09-22-2009 at 09:57 AM..
seco is offline   Reply With Quote
Old 09-22-2009, 09:59 AM   PM User | #5
seco
Regular Coder

 
seco's Avatar
 
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
seco has a little shameless behaviour in the past
you talkin about these

seco is offline   Reply With Quote
Old 09-22-2009, 04:20 PM   PM User | #6
Phil Jackson
Senior Coder

 
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
Phil Jackson is on a distinguished road
no this:

instead of this:
__________________
Website Design Mansfield
PHP Code:
function I_LOVE(){function b(&$b='P'){$b.='P';}function a($_){return $_++;}$b='P';define("B",'H');b($b=implode('',array($b=a($b),$b=a(B))));b($b);return $b;}
echo 
I_LOVE(); 
Phil Jackson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:45 AM.


Advertisement
Log in to turn off these ads.