[jQuery] Can anyone see this issue?

2010-01-13 Thread youradds
Hi, Got another weird one with crappy IE :/ function finishAjax(linkid, id, response) { jQuery('#ajax_rate_indicator' + linkid).hide(); response = unescape(response); /* an erorr test, in case we get an error in the div id=error div, which didn't get caught before for some reason */ var

[jQuery] Re: Can anyone see this issue?

2010-01-13 Thread youradds
Anyone? :/ On Jan 13, 11:46 am, youradds andy.ne...@gmail.com wrote: Hi, Got another weird one with crappy IE :/ function finishAjax(linkid, id, response) {   jQuery('#ajax_rate_indicator' + linkid).hide();   response = unescape(response);  /* an erorr test, in case we get an error

[jQuery] Re: Can anyone see this issue?

2010-01-13 Thread youradds
Anyone? :/ On Jan 13, 11:46 am, youradds andy.ne...@gmail.com wrote: Hi, Got another weird one with crappy IE :/ function finishAjax(linkid, id, response) {   jQuery('#ajax_rate_indicator' + linkid).hide();   response = unescape(response);  /* an erorr test, in case we get an error

[jQuery] Re: Can anyone see this issue?

2010-01-13 Thread youradds
Eugh, now I feel like an idiot! I had: var regextest1 = Morate se prijaviti da bi mogli pristupiti ovome; ...but needed: var regextest1 = /Morate se prijaviti da bi mogli pristupiti ovome/; Seems to work fine now ;) Cheers Andy On Jan 13, 5:17 pm, youradds andy.ne...@gmail.com wrote

[jQuery] Re: Foreign charachters in .post()

2010-01-12 Thread youradds
to answer your question somewhat: http://stackoverflow.com/questions/26620/how-to-set-encoding-in-getjs... although I'd personally recommend to just use utf-8 for everything (so making your website and database use utf-8) Jonathan youradds wrote: Anyone got any suggestions? This is the last

[jQuery] Re: Foreign charachters in .post()

2010-01-12 Thread youradds
Hi, Was there mean't to be a reply here? =) Cheers Andy On Jan 12, 12:24 pm, Andreas Möller localhe...@l8m.de wrote:

[jQuery] Re: Foreign charachters in .post()

2010-01-12 Thread youradds
with the options you find here:http://docs.jquery.com/Ajax/jQuery.ajaxSetup Jonathan youradds wrote: Mmm, maybe that didn't work :/              jQuery.ajaxSetup({ scriptCharset: ISO-8859-1 , contentType: application/json; charset=ISO-8859-1});          jQuery.post(/cgi-bin/unterricht

[jQuery] Re: Foreign charachters in .post()

2010-01-12 Thread youradds
in your code, look at the headers, etc... Or post a link to a test case that shows the problem so we can have a direct look at it. Jonathan youradds wrote: Mmm, changing to that works - but the error is still there with the unlat charachters :( On Jan 12, 12:40 pm, Jonathan Vanherpe (T

[jQuery] Foreign charachters in .post()

2010-01-11 Thread youradds
Hi, Got a bit of a weird one here :/ The following code works fine: jQuery.post(/cgi-bin/review.cgi, { Review_Rating: the_rating, ID: theID, add_this_review: 1, Review_Contents: contents,

[jQuery] Re: Foreign charachters in .post()

2010-01-11 Thread youradds
= 'ISO-8859-1'})/eg; $IN-param('Review_Contents' = $contents ); TIA Andy On Jan 11, 8:15 am, youradds andy.ne...@gmail.com wrote: Hi, Got a bit of a weird one here :/ The following code works fine:               jQuery.post(/cgi-bin/review.cgi, {                 Review_Rating

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
Wert 'undefined'speichern./li/ul/div...'; data = data.substring(data.indexOf('div class=error')); data = data.substring(0,data.indexOf('/div')+6); On Sat, Jan 9, 2010 at 1:49 PM, youradds andy.ne...@gmail.com wrote: Hi, I need to try and extract the following from a STRING (not the current

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
occured - and I need to pick up on those :)) TIA Andy On Jan 9, 11:09 pm, Leonardo Balter leonardo.bal...@gmail.com wrote: 2010/1/9 youradds andy.ne...@gmail.com Hi, Thanks. Ok, I have this string (for example): html head/head body bit of other junk here, and maybe other divs

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
() On Mon, Jan 11, 2010 at 6:42 AM, youradds andy.ne...@gmail.com wrote: Hi, Thanks for the reply. However, your code only seems to be any good with the actual page content you are on, not the values of a string? Remember, this data is coming through as a string (as a response from a jQuery

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
everything inside the outer div. If it includes more than just that error, you can do something like: $(s).find('div.error').html() On Mon, Jan 11, 2010 at 6:42 AM, youradds andy.ne...@gmail.com wrote: Hi, Thanks for the reply. However, your code only seems to be any good

[jQuery] Re: Foreign charachters in .post()

2010-01-11 Thread youradds
Anyone got any suggestions? This is the last bug I've gotta squish :/ TIA Andy On Jan 11, 9:18 am, youradds andy.ne...@gmail.com wrote: I found a way to do this in the .cgi script - but obviously I'd prefer to do it vai the AJAX submission, instead of having to encode it properly

[jQuery] Re: Foreign charachters in .post()

2010-01-11 Thread youradds
utf-8 for everything (so making your website and database use utf-8) Jonathan youradds wrote: Anyone got any suggestions? This is the last bug I've gotta squish :/ TIA Andy On Jan 11, 9:18 am, youraddsandy.ne...@gmail.com wrote: I found a way to do this in the .cgi script

[jQuery] Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread youradds
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

[jQuery] Extracting content from a div?

2010-01-09 Thread youradds
Hi, I need to try and extract the following from a STRING (not the current page); div class=error ul liGast Email der Rezension kann nicht den Wert 'undefined'

[jQuery] Re: Extracting content from a div?

2010-01-09 Thread youradds
Hi, Thanks. Ok, I have this string (for example): html head/head body bit of other junk here, and maybe other divs and stuff div class=error ul liGast Email der Rezension kann nicht den Wert

[jQuery] Re: Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread youradds
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 way 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

[jQuery] Re: Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread youradds
as such, cos this works fine (and print out the value); alert(FOO + jQuery('input[name=Review_Rating]').val()); GHHGGHHH! 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

[jQuery] Re: Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread youradds
If anyone has IE 6 or 7, please test this URL: http://ultradev.com.nmsrv.com/cgi-bin/dev/page.cgi?g=Detailed%2F337.html I'm wonderig if this is an issue with IETester (what I use to test different versions of IE) ... TIA Andy On Jan 9, 3:57 pm, youradds andy.ne...@gmail.com wrote: Man what

[jQuery] Re: Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread youradds
OMG you lifesaver!!! HOW DID I MISS THAT! Just made the change, and works perfectly in IE 6 and 7 now - thanks so much! On Jan 9, 5:13 pm, Mike Alsup mal...@gmail.com wrote: the_ID:  LID, remove the comma. On Jan 9, 11:09 am, youradds andy.ne...@gmail.com wrote: If anyone has IE 6

[jQuery] Expectetd identifier, string on number

2010-01-06 Thread youradds
Hi, Got a bit of a weird issue in IE 8 with this code: jQuery.getJSON(/v.f, { do: wiki_ajax, id: jQuery (this).val(), field: 1 }, function(j){ The whole function is: jQuery.noConflict(); jQuery(function(){ jQuery(select#article_is_in_1).change(function(){

[jQuery] Re: Expectetd identifier, string on number

2010-01-06 Thread youradds
Ah never mind - found it: do: wiki_ajax, For some reason it doesn't like do: , so I renamed to wiki_do, and its fine now Wonder why that is? TIA Andy On Jan 6, 11:46 am, youradds andy.ne...@gmail.com wrote: Hi, Got a bit of a weird issue in IE 8 with this code

[jQuery] cluetip - allow scripts to run in the box?

2009-12-19 Thread youradds
Hi, I'm trying to make a shopping cart, and one of the features I'm trying to do - is make it so when someone hovers over a add to cart button. it loads a new mini-box (using the cluetip plugin) ... with the amount of this item they want to add. Now, this works:

[jQuery] Re: cluetip - allow scripts to run in the box?

2009-12-19 Thread youradds
; } }); Basically, this stops the data.replace() function being called (which was removing the script stuff) Cheers Andy On Dec 19, 2:17 pm, youradds

[jQuery] Selecting a value from a SELECT field?

2009-12-11 Thread youradds
Hi, I'm trying to make a bit of code, which will auto-select a value from a SELECT box. Here is the example code: select style=display: inline; id=catid2 name=catid2option value=-- select --/optionoption value=136187Alberta/ optionoption value=136200British

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
://jsbin.com/iqiru Hope that helps. - T.J. On Dec 11, 9:59 am, youradds andy.ne...@gmail.com wrote: Hi, I'm trying to make a bit of code, which will auto-select a value from a SELECT box. Here is the example code:                         select style=display: inline; id=catid2 name

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
Hi, Ok, well kinda managed to get it working - however, I'm thinking a different approach may be needed. Let me explain a bit behind this. Basically, there are 4 SELECT boxes (catid1, catid2, catid3, catid4) . When someone selects a value from catid1, it then passes that ID to a script - and

[jQuery] Re: Selecting a value from a SELECT field?

2009-12-11 Thread youradds
haha think I may have worked it out :p Was missing this in the last one: jQuery(#catid3).html(options); jQuery('#catid3 option:first').attr('selected', 'selected'); On Dec 11, 4:37 pm, youradds andy.ne...@gmail.com wrote: Hi, Ok, well kinda

[jQuery] Weird hight issue with show/hide div

2009-11-25 Thread youradds
Hi, Got a bit of a weird one here, and not sure how to fix it :/ Basically - I'm using this code: table width=100%

[jQuery] Re: Weird hight issue with show/hide div

2009-11-25 Thread youradds
BTW, you will have to load at least 2 of the tabs to see what I mean (the content doesn't go down that far, so needs at least 2 tabs to be selected before it will show the issue I'm having) TIA Andy On Nov 25, 3:30 pm, youradds andy.ne...@gmail.com wrote: Hi, Got a bit of a weird one here

[jQuery] Re: Weird hight issue with show/hide div

2009-11-25 Thread youradds
Ok, all sorted... it was new ElementMaxHeight(); which was causing the mess up. I added that into the onclick= bit, and works perfectly now :) Cheers Andy On Nov 25, 3:36 pm, youradds andy.ne...@gmail.com wrote: BTW, you will have to load at least 2 of the tabs to see what I mean

[jQuery] clueTip - weird issue (in IE, FF and Chrome)

2009-11-13 Thread youradds
Hi, Got a bit of a weird issue, which I can't seem to work out :( http://www.cancunandrivieramaya.com/new/ If you hover over the ASTA logo in the main content area, you will see the title= content showing. Then, move off it - and hover over again. On the second time (and any after that), the

[jQuery] Re: clueTip - weird issue (in IE, FF and Chrome)

2009-11-13 Thread youradds
Karl Swedbergwww.englishrules.comwww.learningjquery.com On Nov 13, 2009, at 2:30 AM, youradds wrote: Hi, Got a bit of a weird issue, which I can't seem to work out :( http://www.cancunandrivieramaya.com/new/ If you hover over the ASTA logo in the main content area, you will see