This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.1 » tag <form></form> not displayed in remote_function ajax
tag <form></form> not displayed in remote_function ajax [message #92613] Sun, 31 January 2010 17:15
gagnezplus  is currently offline gagnezplus
Messages: 15
Registered: October 2008
Junior Member
Bonjour,

j'utilise un select_tag(xxx, array( 'onchange' => remote_function( array( 'update' => 'classSelection3',
'url' => 'product/getProducts',
'with' => "'id=' + this.value + 'r_id=".$r_id."'",
'script' => true,
))));

dans le resultat de cet appel (product/getProducts) je construit une liste de formulaire, le probleme est que tous les tags <form></form> disparraissent, un peut comme les javascripts sans l'option script=>true, je ne comprends pas, existe t'il une autre option pour activer les form dans un appel ajax ??
Merci par avance

-----

Hello,

I use a select_tag (xxx, array ( 'onchange' => remote_function (array ( 'update'
=> 'ClassSelection3'
'url' => 'product / GetProducts'
'with' => " 'id =' + this.value + '= R_ID. R_ID $ ."'",
'script' => true,
))));

in the result of this call (product / GetProducts) I built a list of form, the problem is that all tags <form> </ form> are not displayed, like javascripts without the option script => true, I do not understand, Is there another option to turn the form in an Ajax call? Thanks

[Updated on: Sun, 31 January 2010 17:16]

Previous Topic:CSS load order in layout
Next Topic:Documentation of 1.1 in future
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software