How to load an action response inside a DIV tag with ajax helpers
In this article i’ll expose a simple example on how to load a action response inside a div using Symfony Ajax Helpers.
The only think you have to do is write inside a templeate:
<?php echo link_to_remote(”TITULO DEL LINK”,array(’update’ => ‘nombreDIV’,”url” => ‘nombreModulo/nombreAccion’));?>
<div id=”nombreDIV”></div>
The helper willo load the action response inside that DIV.
Mauro Casula.
symfony-framework.com
4 Responses to “How to load an action response inside a DIV tag with ajax helpers”
You can leave a response, or trackback from your own site.
John
Said this at 11:05pm:Great site and useful content! Could you leave some opinion about my sites?
My site
[url=http://ownsite.com/b/]My site[/url]
http://ownsite.com/p/ My site
Valintino
Said this at 4:08am:Hello, Your site is great.
Regards, Valiintino Guxxi
Ajax
Said this at 1:28am:I gather always different opinions about web 2.0 and how to market with the different mindset of the \”new\” Internet. Will social interaction and networking really make the web different? Thanks for your thoughts on this!
ajax in action
Said this at 1:35am:ajax in action
Websites with web 2.0 standards are not always the better ones.