submit or refresh form via ajax from javascript ?

2010-10-12 Thread Maris Orbidans


Is it possible to submit a form from javascript ?



Maris

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: submit or refresh form via ajax from javascript ?

2010-10-12 Thread jcgarciam

Simple javascript:

var theForm = document.getElementById(formId);
theForm.submit();




On Tue, Oct 12, 2010 at 7:53 AM, Maris Orbidans [via Apache Wicket] 
ml-node+2991613-1252635351-65...@n4.nabble.comml-node%2b2991613-1252635351-65...@n4.nabble.com
 wrote:



 Is it possible to submit a form from javascript ?



 Maris

 -
 To unsubscribe, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=2991613i=0
 For additional commands, e-mail: [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=2991613i=1



 --
  View message @
 http://apache-wicket.1842946.n4.nabble.com/How-to-trigger-server-side-method-when-user-clicks-on-a-Table-Row-tp2991576p2991613.html
 To start a new topic under Apache Wicket, email
 ml-node+1842946-398011874-65...@n4.nabble.comml-node%2b1842946-398011874-65...@n4.nabble.com
 To unsubscribe from Apache Wicket, click 
 herehttp://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=1842946code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=.





-- 
Sincerely,
JC (http://www.linkedin.com/in/jcgarciam)
Work smarter, not harder!.

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-trigger-server-side-method-when-user-clicks-on-a-Table-Row-tp2991576p2991835.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: submit or refresh form via ajax from javascript ?

2010-10-12 Thread Jeremy Thomerson
Did you mean AJAX submit (as your subject implied)?  Have you tried
AjaxFormSubmitBehavior?

On Tue, Oct 12, 2010 at 8:16 AM, jcgarciam jcgarc...@gmail.com wrote:


 Simple javascript:

 var theForm = document.getElementById(formId);
 theForm.submit();




 On Tue, Oct 12, 2010 at 7:53 AM, Maris Orbidans [via Apache Wicket] 
 ml-node+2991613-1252635351-65...@n4.nabble.comml-node%2b2991613-1252635351-65...@n4.nabble.com
 ml-node%2b2991613-1252635351-65...@n4.nabble.comml-node%252b2991613-1252635351-65...@n4.nabble.com
 
  wrote:

 
 
  Is it possible to submit a form from javascript ?
 
 
 
  Maris
 
  -
  To unsubscribe, e-mail: [hidden email]
 http://user/SendEmail.jtp?type=nodenode=2991613i=0
  For additional commands, e-mail: [hidden email]
 http://user/SendEmail.jtp?type=nodenode=2991613i=1
 
 
 
  --
   View message @
 
 http://apache-wicket.1842946.n4.nabble.com/How-to-trigger-server-side-method-when-user-clicks-on-a-Table-Row-tp2991576p2991613.html
  To start a new topic under Apache Wicket, email
  ml-node+1842946-398011874-65...@n4.nabble.comml-node%2b1842946-398011874-65...@n4.nabble.com
 ml-node%2b1842946-398011874-65...@n4.nabble.comml-node%252b1842946-398011874-65...@n4.nabble.com
 
  To unsubscribe from Apache Wicket, click here
 http://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_codenode=1842946code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=
 .
 
 
 


 --
 Sincerely,
 JC (http://www.linkedin.com/in/jcgarciam)
 Work smarter, not harder!.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/How-to-trigger-server-side-method-when-user-clicks-on-a-Table-Row-tp2991576p2991835.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Jeremy Thomerson
http://www.wickettraining.com