Man what a pile of poo IE is!!!!! Its moaning about this bit:
jQuery.post("/cgi-bin/dev/rate.cgi", { the_rate: Rating, the_ID: LID, }, function(response) { jQuery('#ajax_rate_indicator' + the_id).show(); setTimeout("finishAjaxCategory(" + the_id + ",'the_rating_box" + the_id + "', '"+escape(response)+"')", 400); }); I've tried commenting each main bit out, and as soon as I uncomment the jQuery() bit, it dies! Why would it do this? I don't think its jQuery as such, cos this works fine (and print out the value); alert("FOO" + jQuery('input[name=Review_Rating]').val()); AAAAGHHGGHHH! On Jan 9, 3:30 pm, youradds <andy.ne...@gmail.com> wrote: > Man this is driving me nuts - its fine in FF 3, Chrome, IE 8 - but > just not IE 6 and 7 - WHAT! :@ > > Just downloaded a debugging tool, and even that can't find an error. > > At first I thought maybe the space: > > jQuery.post("/cgi-bin/dev/rate.cgi", { > rate: Rating, > ID: LID, > }, function(response){ > > jQuery('#ajax_rate_indicator').fadeOut(); > setTimeout("finishAjax('the_rating_box', '"+escape(response) > +"')", 400); > }); > > ..so I changed to: > > jQuery.post("/cgi-bin/dev/rate.cgi", { > rate: Rating, > ID: LID, > }, function(response){ > jQuery('#ajax_rate_indicator').fadeOut(); > setTimeout("finishAjax('the_rating_box', '"+escape(response) > +"')", 400); > }); > > ..but that gives the same error. > > Please if anyone has any suggestions - I'm all ears - its driving me > nuts :/ (its only a free script I'm developing for some software, and > I've already spent waaaaay too much time on it :() > > TIA > > Andy > > On Jan 9, 9:48 am, youradds <andy.ne...@gmail.com> wrote: > > > Hi, > > > Got a bit of a weird one here :/ > > >http://ultradev.com.nmsrv.com/cgi-bin/dev/page.cgi?g=Detailed%2F337.html > > > Line: 12 > > Char: 0 > > Error: Expected identifier, string or number > > Code: 0 > > > The script its refering to (I assume!) is: > > >http://ultradev.com.nmsrv.com/dev/static/ajax_rate.js > > > Originally I had this line at the top of the script: > > > jQuery.noConflict(); > > > ..,but was wondering if maybe it needed to be in each function ( which > > I've done) ... but still get the error :/ > > > I get a similar error when actually clicking on a star. Appart from > > this time it reports the line number of the link itself ( I assumed > > thats cos the function in the .js file didn't load, so when its being > > called that doesn't work either) > > > Anyone got any suggestions? I'm at a road block :/ > > > TIA! > > > Andy > >