Hi, I just started using JQuery and I'm amazed how simple things can be done... Unfortunately I've run into an IE issue (I think). Im using an UL list for A-Z links (large site). I try to read out the LI elements and use them to generate the path to the html file (E.g. A.html from <li>A</li>.
This seems to work fine in FF, but in IE I end up with a filename of 'A .html' (note the space): Demo: (only A and B load data) using V.249 http://www.sozzi.cn/jquery/fish_ajax_3.html The alert poping up just outputs the generated filename: the "offending" line of code is: text = "html/"+$(this).text()+".html"; /*read out text from <li>text</li> and make filename from it*/ any way to solve this easily? I just found some regex solutions I don't quite understand. Thanks a lot Angelo -- View this message in context: http://www.nabble.com/problem-iwith-leadiing-space-in-IE-tf2461879.html#a6863015 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
