Enjoy an ad free experience by logging in. Not a member yet?
Register .
09-22-2009, 09:08 AM
PM User |
#1
Senior Coder
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
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 ();
09-22-2009, 09:25 AM
PM User |
#2
Regular Coder
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
sounds like charset, do they show where a space might be?
09-22-2009, 09:48 AM
PM User |
#3
Senior Coder
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
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 ();
09-22-2009, 09:50 AM
PM User |
#4
Regular Coder
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
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 ..
09-22-2009, 09:59 AM
PM User |
#5
Regular Coder
Join Date: Nov 2008
Location: Oregon
Posts: 682
Thanks: 5
Thanked 79 Times in 77 Posts
you talkin about these
09-22-2009, 04:20 PM
PM User |
#6
Senior Coder
Join Date: Aug 2009
Location: Mansfield, Nottinghamshire, UK
Posts: 1,547
Thanks: 57
Thanked 148 Times in 147 Posts
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 ();
Jump To Top of Thread
Thread Tools
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
HTML code is Off
All times are GMT +1. The time now is 03:45 AM .
Advertisement
Log in to turn off these ads.