Oct18

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.

  1. Nov15

    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

  2. Dec1

    Valintino

    Said this at 4:08am:

    Hello, Your site is great.

    Regards, Valiintino Guxxi

  3. Dec7

    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!

  4. Dec8

    ajax in action

    Said this at 1:35am:

    ajax in action

    Websites with web 2.0 standards are not always the better ones.

 

Leave a Reply

 

Recent Posts

Popular Categories

No categories

About

We are a group of programmers with the passion of Object Oriented Programming and PHP5… We hope to help the Symfony comunity to grow, we hope to help Php programmers to switch to MVC world and we wish you can find in this blog all you answers… Welcome to Symfony-Framework.com.

<<The Administrators>>