[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 wrote

[jQuery] Re: Can anyone see this issue?

2010-01-13 Thread youradds
Anyone? :/ On Jan 13, 11:46 am, youradds 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 tes

[jQuery] Re: Can anyone see this issue?

2010-01-13 Thread youradds
Anyone? :/ On Jan 13, 11:46 am, youradds 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 tes

[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, which didn't get caught before for some reason */ var error = jQue

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

2010-01-12 Thread youradds
ode, 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 charachte

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

2010-01-12 Thread youradds
thing. Just play 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: >

[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 wrote: >

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

2010-01-12 Thread youradds
t still, you'll make your life easier if you just go for a completely > utf-8 workflow. > > Jonathan > > Jonathan Vanherpe (T & T NV) wrote: > > > > > this seems to answer your question somewhat: > >http://stackoverflow.com/questions/26620/how-to-set-encoding-in-ge

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

2010-01-11 Thread youradds
ow.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?

[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 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 > properl

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
tml() would return 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 wrote: > > Hi, > > > Thanks for the reply. How

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
27;div.error').html() > > > > On Mon, Jan 11, 2010 at 6:42 AM, youradds 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

[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 wrote: > 2010/1/9 youradds > > > > > Hi, > > > Thanks. Ok, I have this string (for example): > > > > > > > > > &g

[jQuery] Re: Extracting content from a div?

2010-01-11 Thread youradds
; nicht den Wert 'undefined'>speichern'; > > data = data.substring(data.indexOf('')); > data = data.substring(0,data.indexOf('')+6); > > > > On Sat, Jan 9, 2010 at 1:49 PM, youradds wrote

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

2010-01-11 Thread youradds
g => $1, - charset => 'ISO-8859-1'})/eg; $IN->param('Review_Contents' => $contents ); TIA Andy On Jan 11, 8:15 am, youradds wrote: > Hi, > > Got a bit of a weird one here :/ > > The following code works fine: > >               jQuery.po

[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: 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 wrote: > the_ID:  LID, > > remove the comma. > > On Jan 9, 11:09 am, youradds wrote: > > > If anyone has IE 6 or

[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 wrote: > Man what a pile of p

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

2010-01-09 Thread youradds
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()); GHHGGHHH! On Jan 9, 3:30 pm, youradds wrote: &

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

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

[jQuery] Re: Extracting content from a div?

2010-01-09 Thread youradds
Hi, Thanks. Ok, I have this string (for example): bit of other junk here, and maybe other divs and stuff Gast Email der Rezension kann nicht den Wert 'undefined'

[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); Gast Email der Rezension kann nicht den Wert 'undefined' speichern.

[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 had

[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 wrote: > Hi, > > Got a bit of a weird issue in IE 8 with this code: > >        

[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: cluetip - allow scripts to run in the box?

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

[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: 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 wrote:

[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 the

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

2009-12-11 Thread youradds
> http://jsbin.com/iqiru > > Hope that helps. > > - T.J. > > On Dec 11, 9:59 am, youradds 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: > > >      

[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 --AlbertaBritish ColumbiaManitobaNewfoundland and LabradorNew BrunswickNova ScotiaOntarioPrince Edward IslandQuebecSaskatchewan I've tried: $('#cat

[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 wrote: > BTW, you will have to load at least 2 of the tabs to see what I mean > (the co

[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 wrote: > Hi, > > Got a bit of a weird one her

[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:

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

2009-11-13 Thread youradds
OMG you legend! Thanks a TON works perfectly now =) Was ripping my hair out over this one ;) Thanks again! Andy On Nov 13, 2:08 pm, Karl Swedberg wrote: > Hi Andy, > > The problem is occurring because you are initializing the cluetip on   > mouseover by calling jQuery('a.title').cluetip( ... ).

[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