I have following code with drop-list name "agencyName". But event
.change() attached to this object never called. So i was wondering does
jQuery ever work with Struts custom tag? or Am I doing something wrong?
Thanks in advance.
Anjib
$('#agencyName').change( function() {
/* Nev
> I have following code with drop-list name "agencyName". But
event.change() attached to this object never called.
Make sure that the rendered form is actually creating a HTML object with
an ID of agencyName. That's usually the problem that I encounter - using
the wrong name. Also, make sure th
On 8/16/2011 10:51 AM, Eric Lentz wrote:
I have following code with drop-list name "agencyName". But
event.change() attached to this object never called.
Make sure that the rendered form is actually creating a HTML object with
an ID of agencyName. That's usually the problem that I encounter - u
Check for JS errors in the console then, jQuery works fine with S1.
Dave
On Aug 16, 2011 12:44 PM, "Anjib Mulepati" wrote:
> On 8/16/2011 10:51 AM, Eric Lentz wrote:
>>> I have following code with drop-list name "agencyName". But
>> event.change() attached to this object never called.
>>
>> Make
There is no error at console but can run the script in console itself.
Any suggestion?
On 8/16/2011 12:53 PM, Dave Newton wrote:
Check for JS errors in the console then, jQuery works fine with S1.
Dave
On Aug 16, 2011 12:44 PM, "Anjib Mulepati" wrote:
On 8/16/2011 10:51 AM, Eric Lentz wrot
> There is no error at console but can run the script in console itself.
> Any suggestion?
Are you saying that you can verify that the script is executing? For
example, if you alert, breakpoint or print to console before the
installation of the change event, do you get the expected feedback from
Yes script runs fine.
On 8/16/2011 1:19 PM, Eric Lentz wrote:
There is no error at console but can run the script in console itself.
Any suggestion?
Are you saying that you can verify that the script is executing? For
example, if you alert, breakpoint or print to console before the
installation
What script? The script that attaches the handler?
Dave
On Aug 16, 2011 1:46 PM, "Anjib Mulepati" wrote:
> Yes script runs fine.
> On 8/16/2011 1:19 PM, Eric Lentz wrote:
>>> There is no error at console but can run the script in console itself.
>>> Any suggestion?
>> Are you saying that you can
> Yes script runs fine.
I would suggest making it as simple as possible. For example, take your
rendered form and make a html file out it and take your script and the
jQuery framework and place them all on a file system and attempt to get
that working (comment the ajax part out). If that works,
9 matches
Mail list logo