When I execute this:

1. var myForm = $("form");
2. myForm.submit(function() {
3.      var self = $(this);
4.      self.children("[name='action']").val("doSomething");
5.
6.      return true;
7. });

And then I debug it, doesn't pass beyond line 1. Recognize all kind of
selectors except when I match a form.

My environment is WAS 6.1, Struts 1.3.8.

And my resources are:

<script type="text/javascript" src="<html:rewrite page='/scripts/
jquery/js/jquery.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/scripts/
CommonScripts.js'/>"></script>
<script type="text/javascript" src="<html:rewrite page='/scripts/
appScripts.js'/>"></script>

The code is written in appScripts.js file.

Can you help me please? I don't understand this situation. (-.-)

PD: when I traverse a button searching for the form parent, it doesn't
show the form node.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to