[jQuery] getJSON Problem

2009-12-31 Thread Mad-Halfling
Hi folks, I've got an issue with the getJSON command. It's all working fine apart from if the map data contains followed by a letter. If there is a space in there, a for example, or a number 1 it is fine, but with a the getJSON command either doesn't execute or executes but does nothing, maybe

[jQuery] Replacing brs in a div

2009-12-09 Thread Mad-Halfling
Hi, this seems like a stupid question, but I'm not quite sure if I can do it or not. I am copying the contents of a div into a textarea like this:- $('#TextAreaID').append($('#DivID').html()); and it works ok, but I need to replace any br / tags in the divs content with \r\n - can I do this with

[jQuery] Re: Replacing brs in a div

2009-12-09 Thread Mad-Halfling
Thanks for the suggestions folks, I tried var $html = $(#DivID).html(); $(br, $html).replaceWith(\r\n); but it doesn't seem to work, but it's something like that I thought I might be able to get funky and do - I had a look at the JQ homepage docs, but as you can see they are a little sparse in the

[jQuery] Re: Variable Lifetime

2009-09-21 Thread Mad-Halfling
use the hash fragment in your URL (the part after the #), or perhaps a cookie. But to simply keep data around as long as your page is running and not reloaded, global or local variables are all you need. -Mike On Sun, Sep 20, 2009 at 12:52 PM, Mad-Halfling mad-halfl...@yahoo.comwrote

[jQuery] Variable Lifetime

2009-09-20 Thread Mad-Halfling
Am I correct in thinking that variable in jquery are limited in scope by their parent functions, and if I want to persist data during a particular page's lifetime (thinking of a page that will exist for a while, being updated by AJAX calls, etc) I need to put it in an input control on that page -

[jQuery] Re: fadeIn with IE 8 Compatibility Mode forced off

2009-09-20 Thread Mad-Halfling
Sorry to bump this, but can anyone shed any light on this please? On Sep 16, 10:51 am, Mad-Halfling mad-halfl...@yahoo.com wrote: Hi, are there problems with the animation with IE8 compatibility mode forced off?  I am using meta http-equiv=X-UA-Compatible content=IE=EmulateIE8 to force IE 8

[jQuery] Re: jqModal problem

2009-09-20 Thread Mad-Halfling
Have you tried adding modal: true into your jqm statement? On Sep 20, 5:52 pm, Dennis Madsen den...@demaweb.dk wrote: I'm trying to use the jqModal plugin on my page:http://dev.iceburg.net/jquery/jqModal/ Here is a sample showing my problem:http://dennismadsen.com/uploads/modalTest/ If

[jQuery] fadeIn with IE 8 Compatibility Mode forced off

2009-09-16 Thread Mad-Halfling
Hi, are there problems with the animation with IE8 compatibility mode forced off? I am using meta http-equiv=X-UA-Compatible content=IE=EmulateIE8 to force IE 8 out of compatibility mode for my site, as I need to use the new CSS support that IE 8 finally properly implements (it's an internal

[jQuery] IE8 General Issues

2009-08-13 Thread Mad-Halfling
Hi folks, I'm new to JQuery and am looking to use it in an ASP.NET MVC app running under IE8, probably forced into full IE8 mode (compatibility-mode wise). How does IE8 play with JQuery? Are there any known issues (especially biggies) with JQuery on IE8 or does it work nicely on it? Cheers MH