Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
JQuery::Form(3)	      User Contributed Perl Documentation      JQuery::Form(3)

NAME
       JQuery::Form - Send form	information

VERSION
       Version 1.00

SYNOPSIS
	   use JQuery::Form ;

	   # define JQuery
	   my $jquery =	new JQuery(...)
	   $jquery->add(JQuery::Form->new(id =>	'myForm')) ;

       Create a	form, add the form id to JQuery, and when requested, send the
       reply.

DESCRIPTION
   Main	Page
	   use JQuery ;
	   use JQuery::Form ;

	   # define JQuery
	   my $jquery =	new JQuery(...)
	   JQuery::Form->new(id	=> 'myForm', addToJQuery => $jquery) ;

	   my $html =<<EOD;
	   <form id="myForm" action="/cgi-bin/jquery_form.pl" method="post">
	     Name: <input type="text" name="name" /><br/>
	     Comment: <textarea	name="comment"></textarea><br/>
	     <input type="submit" value="Submit	Comment" /><br/>
	     <input type=hidden	name="rm" value="reply"	/><br/>
	   </form>
	   <div	id="example4" style="background-color: orange; padding:10px; border:1px	solid #bbb"> </div>

	   my $result=<<EOD;

   Reply Page
       Construct the reply. See	<http://www.malsup.com/jquery/taconite/> for
       all the options.	With this, you can change content, add and remove
       items and more.

	  $result=<<EOD;
	  <taconite>
	   <after select="#example1">
		  This text will go after the example div.
	   </after>
	  </taconite>
	  EOD
	  my $q	= new CGI ;
	  print	$q->header(-type=>'text/xml');
	  print	$result	;

       When sending the	reply, ensure that the header is of type text/xml,
       ensure all tags are XML,	which means that all tags must be terminated,
       and lastly, ensure that nothing else is sent.

FUNCTIONS
       new Instantiate the object

AUTHOR
       Peter Gordon, "<peter at	pg-consultants.com>"

BUGS
       Please report any bugs or feature requests to "bug-jquery-taconite at
       rt.cpan.org", or	through	the web	interface at
       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JQuery>.	 I will	be
       notified, and then you'll automatically be notified of progress on your
       bug as I	make changes.

SUPPORT
       You can find documentation for this module with the perldoc command.

	   perldoc JQuery

       You can also look for information at:

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/JQuery>

       o   CPAN	Ratings

	   <http://cpanratings.perl.org/d/JQuery>

       o   RT: CPAN's request tracker

	   <http://rt.cpan.org/NoAuth/Bugs.html?Dist=JQuery>

       o   Search CPAN

	   <http://search.cpan.org/dist/JQuery>

ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
       Copyright 2007 Peter Gordon, all	rights reserved.

       This program is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.32.0			  2020-08-11		       JQuery::Form(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | BUGS | SUPPORT | ACKNOWLEDGEMENTS | COPYRIGHT & LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=JQuery::Form&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help