Actions

J1.5 talk

Difference between revisions of "Using the JToolBar class in the frontend"

From Joomla! Documentation

(Using a toolbar in the MVC tutorial HelloWorld application)
(Javascript and Forms: new section)
Line 91: Line 91:
  
 
--[[User:Rolfz|Rolfz]] 13:56, 21 August 2011 (CDT)
 
--[[User:Rolfz|Rolfz]] 13:56, 21 August 2011 (CDT)
 +
 +
== Javascript and Forms ==
 +
 +
You can add the form in the default.php since Joomla builds the view and appends the toolbars from the controller onto one page. When a button on the toolbar is clicked, it submits the form via javascript. To verify view your HTML source. You should see the HTML rendering the toolbars javascript and the form definition on the same page.
 +
 +
The new keyword is reserved. I changed mine to add

Revision as of 16:31, 28 September 2011