[jQuery] Printing/Manipulating Attribute Values in an Array

2009-10-07 Thread Gil
++) { document.write(globals.childImg[i].attr('src') + br ); } Eventually, I want to be able to run an evaluation against the src values, but am I missing something obvious about being able to get an array of attributes? Gil

[jQuery] Re: Ajax not working in Firefox

2009-09-03 Thread gil
The url of the call it's in the same domain? Because, FF does allow cross domain. Also, try adding the error property, to see the message. On Sep 2, 3:58 pm, RPrager ryan.pra...@gmail.com wrote: Hello Everyone, I'm fairly new to using ajax with jQuery and I'm having an issue in firefox.

[jQuery] Re: adding click event

2009-07-23 Thread gil
Can you provide sample code or a link? On 23 jul, 14:47, shaf shaolinfin...@gmail.com wrote: Hi Guys I have just inserted some content into my html page and now Im trying to add event listeners for some of the links in the inserted content but nothing happens. Do I need to update something

[jQuery] Re: how to call custom function

2009-07-23 Thread gil
hi This link could help http://www.w3schools.com/js/js_functions.asp On 23 jul, 08:41, dhana ddhanasha...@gmail.com wrote: I dont know how to call the custom javascript function with arguments

[jQuery] Re: CSS height/width function value

2009-07-22 Thread gil
to ems. On Jul 21, 9:11 am, gil gilalbe...@gmail.com wrote: Maybe this links could help. http://dtott.com/thoughts/2008/01/19/convert-pixels-to-ems-a-bookmark... http://riddle.pl/emcalc/

[jQuery] Re: toggle() won't hide

2009-07-22 Thread gil
Hi, This could worke, try adding this to the div style overflow:hidden Ex: div id=comment-list-417 class=comment-list style=overflow: hidden; display: block; Regards On 22 jul, 01:22, sccr410 de...@ashwebstudio.com wrote: http://www.erikaashauerphoto.com/blog/ At the end of each post there

[jQuery] Re: datepicker

2009-07-22 Thread gil
Can you provide sample code or a link? Thanks On 22 jul, 00:51, acatejr acat...@gmail.com wrote: I am using the jQuery datepicker.  When the user selects an item in a drop down list box the selectable dates in the calender in the datepicker get updated with all selectable dates associated

[jQuery] Re: Input fields bug

2009-07-21 Thread gil
Hi Koos, It might be this: When you open the pop up it adds some divs, but there is one that doesn't disappear when you click exit. Disable the div with id=overlayButtonPlaceholder with display:none, when you close the popup. Regards On Jul 21, 2:09 am, Kozie flamefing...@gmail.com wrote:

[jQuery] Re: CSS height/width function value

2009-07-21 Thread gil
Maybe this links could help. http://dtott.com/thoughts/2008/01/19/convert-pixels-to-ems-a-bookmarklet/ http://riddle.pl/emcalc/ On Jul 20, 7:49 pm, FirefoxRocks firefoxroc...@gmail.com wrote: Currently for the height and width functions, this is the description: Get the current computed,

[jQuery] Re: calling function with array arguments

2009-07-15 Thread gil
Hi, I don't know if i understand the question, but this could help you: Calling a function that receives an array: var somemap = { one: 1, two: 2, three: 3}; call_function(new Array(somemap.one, somemap.two)); Calling a function with a object property: var somemap = { one: 1, two: 2,

[jQuery] Java Servlet with Jsonp

2009-07-15 Thread gil
Hi, i'm trying to make a jsonp servlet but it gives me an error on the response. I'm missing something? maybe on the java servlet? Servelet: HttpServletResponse response; HttpServletRequest request; response.setContentType(application/x-javascript; charset=utf-8); PrintWriter out =

[jQuery] Best autocomplete plugin?

2009-07-15 Thread gil
Hi, I'm looking for an autocomplete plugin, can anyone give me suggestions? I found this one: http://plugins.jquery.com/project/autocompletex On this thread:

[jQuery] Re: Java Servlet with Jsonp

2009-07-15 Thread gil
print() and build the string first. Thanks. On 15 jul, 11:44, gil gilalbe...@gmail.com wrote: Hi, i'm trying to make a jsonp servlet but it gives me an error on the response. I'm missing something? maybe on the java servlet? Servelet: HttpServletResponse response; HttpServletRequest request

[jQuery] why is the click event different in a elements?

2008-11-23 Thread Lorenzo Gil Sanchez
Imagine this code: $(a).click(function () { alert(hello world); return false; }); $(button).click(function () { $(a).click(); }); I would expect that clicking on the button would trigger the click event on the links element, but it is not the case because of the following code in jQuery: