[jQuery] How to insert HTML in an iframe

2010-01-19 Thread pablo
Hi, I need to insert HTML in an iframe. This works in IE but not in Firefox: $(this.iframe).append(phello/p); What is the problem in Firefox? Thank you very much.

[jQuery] [Form Plugin] - Bug in version 2.28 at line 61 (lack semicolon)

2009-08-29 Thread Pablo-AR
: url = url || window.location.href || '' I corrected this and can compress the js correctly. Best Regards, Pablo Santa Fe - Argentina http://www.infosoft.com.ar

[jQuery] [treeview] Collapsed tree will flash before collapsing. Anyway to avoid it?

2009-07-29 Thread Pablo
Hi Guys, I'm using the treeview jQuery plugin (http://bassistance.de/jquery- plugins/jquery-plugin-treeview/) to display the sitemap for a site. My customer wants to see the tree collapsed on the page load and the user should expand it as he sees fit. So, I've setup it like that:

[jQuery] problem with href attribute after loading content with load (IE)

2009-03-17 Thread pablo
Hi all, I am having serious problems for getting the value of the href attribute as it appears in the source, in IE. I load some content with the load function and this content has links, that are relative to the document of origin, after being loaded, the href attribute is changed into a wrong

[jQuery] Pro Javascript Techniques Doubt

2008-12-18 Thread Pablo Fernandez
Hi, I'm reading Pro Javascript Techniques from John Resig, and I'm confused with an example. This is the code: // Create a new user object that accepts an object of properties function User( properties ) { // Iterate through the properties of the object, and make sure // that it's properly

[jQuery] Re: Pro Javascript Techniques Doubt

2008-12-18 Thread Pablo Fernandez
thanks that seems to work, but the 'getname' method returns 44 instead of Bob, and then 22... it appears that it's pointing to the age variable, any idea why? thank you!

[jQuery] Re: Pro Javascript Techniques Doubt

2008-12-18 Thread Pablo Fernandez
another thing... why inside the anonymous function 'this' refers to 'window' ?? it's totally misleading...

[jQuery] Re: Pro Javascript Techniques Doubt

2008-12-18 Thread Pablo Fernandez
too :) On Dec 18, 4:18 pm, Pablo Fernandez fernandezpabl...@gmail.com wrote: another thing... why inside the anonymous function 'this' refers to 'window' ??  it's totally misleading...

[jQuery] Re: Pro Javascript Techniques Doubt

2008-12-18 Thread pablo fernandez
on page 153). No need to pass the argument this way, moreover not that easy to mistype: for ( var j in properties ) { (function(){ var i=j; ... I can't believe no one has spotted this: http://www.apress.com/book/errata/275 On Dec 18, 4:53 pm, Pablo Fernandez fernandezpabl...@gmail.com

[jQuery] Re: Pro Javascript Techniques Doubt

2008-12-18 Thread pablo fernandez
` in properties[i] is the same that you use for the loop. If you use a closure you can define a local variable that gets the value (not the reference!) of the current index so that won't change afterwards. Sounds complicated but it really isn't - once you get it :) On Dec 18, 5:52 pm, pablo fernandez

[jQuery] Re: Add span and class with text used inside a href - WrapInner according to text

2008-08-31 Thread José Pablo Orozco Marín
I was trying to use InnerWrap but firebug say is not a function. Hi group, How do i dinamically convert strings like a href=# class=viewview/a a href=# class=addview/a a href=# class=editview/a a href=# class=deleteview/a To: a href=# class=viewspan class=viewview/span/a a href=#

[jQuery] Re: Using jQuery Form Plugin - submitting special characters

2008-07-18 Thread Pablo Santiago
in mi pages and my server. Special characters (á, ñ) are display correctly but when I try to send them through $.ajax they are displayed as strange symbols as if the charset is UTF-8. I'm clueless if anyone has any idea, please let me know. Thanks, Pablo On 11 jul, 15:11, hubbs [EMAIL

[jQuery] Re: jQuery version

2008-06-17 Thread Pablo Lillia
I respond myself: jQuery.jquery or maybe $.jquery (I only test the first form). Byes, Gorlok 2008/6/17 gorlok [EMAIL PROTECTED]: Hi, I'm looking for jQuery().version() or something similar. I want to verify what version of jQuery is installed. Thanks in advance! PD: I'm using jQuery as

[jQuery] Events priority

2008-06-08 Thread Pablo Santiago
Hey guys, I'm rather new at this but I've got a problem with setting priorities to events that has kept me up all night. The issue is quite simple: - An image is clicked - A floating box appears with the image preview and a Change Image button - If you click the Change Image button, it'll toggle

[jQuery] Re: [validate] spinner - loading

2008-02-12 Thread José Pablo Orozco Marín
Thank you Jörn . // set this class to error-labels to indicate valid fields $(#UserRegisterForm).bind(ajaxSend, function(){ alert(Send!); }).bind(ajaxComplete, function(){ alert(Complete!); }); Now im going to use some div to show or hide. I love your plugin, is a piece of art.

[jQuery] Re: submit problem [validation]

2008-02-11 Thread José Pablo Orozco Marín
Yes, im using Jquery validation, but im still trying to translate this old onClick button to call plugin validate? How can i do that using the same button? I need to use the same button cause this button is part of a toolbar. http://bassistance.de/jquery-plugins/jquery-plugin-validation/

[jQuery] wish: WYSIWYG Form Editor

2007-06-15 Thread Juan Pablo Aqueveque
Hi jQuery gurus: I would like to see a WYSIWYG Form Editor like this one: http://www.themaninblue.com/experiment/widgEditor/ but in jQuery of course. Or already exists one?. ? Cheers -- juan pablo aqueveque www.juque.cl