[jquery-dev] Re: Parameter value contains white space in jQuery function

2009-04-23 Thread Leonardo Rossetti
Can't you use the function encodeURIComponent(str)? 2009/4/23 neerav shah > HI All, > > I am preparing the data values{paramName:value} from the html page and > passing to the jQuery function. But the parameter value contains white space > or any special character so it is giving error 'Untermin

[jquery-dev] Re: Namespace failure

2009-02-12 Thread Leonardo Rossetti
what is the purpose of this try-catch block? 2009/2/12 David Pollak > > Folks, > > I use and *love* jQuery. I also run the Lift web framework project. > In Lift, we use jQuery and we use XHTML namespaces (we need to > decorate certain XHTML elements with lift:gc attributes.) > > We've run into

[jquery-dev] Re: There must be a better way !

2009-02-09 Thread Leonardo Rossetti
if you are creating it with jquery 2009/2/9 weepy > > It's as simple as : > > a =$("") > a.css({backgroundImage: "url('test.png')"}) // note the 's > > c =$("") > > c.append(a) > > c.html() => " div>"

[jquery-dev] Re: There must be a better way !

2009-02-09 Thread Leonardo Rossetti
Do you have a test page? I think using .each in the html element and in the object interation could be one solution. 2009/2/9 weepy > > I'm dynamically inserted a large number of elements into a page. > > I want it to be nice and speedy, so I wanted to insert them all at > once to avoid multiple

[jquery-dev] Re: Error in Firefox mac

2009-01-27 Thread Leonardo Rossetti
and it seems to work fine for me: > Has Flash: Yes > > Has Silverlight: Yes > > Has PDF: No > > Has Java: No > > Has Quicktime: Yes > > Has Windows Media Player: Yes > > Has Shockwave: Yes > > Has Realplayer: No > > Not sure if this helps. > > --

[jquery-dev] Error in Firefox mac

2009-01-26 Thread Leonardo Rossetti
Hi, I have created plugin that extends the jQuery.browser extension, but it is not working only on firefox mac(in safari it is ok), not executing the plugin as it should.(it doesn't detect any of the browser plugins) Could this be a browser bug, or an i missing something? Here is the plugin demo