![]() |
How I take the Data into JavaScript and return after some jobs
I put a new button at Creating Social Group Form and on click i run a JavaScript.
How can i read Form Fields data at JavaSript? the form not use vBForm and $editorid !!! Here the vBulletin Template Code:
$stylevar[htmldoctype] i want to take the groupname and the groupdescription. |
I'm not sure if I know what you're asking, but maybe this example will help? http://www.w3schools.com/js/tryit.as...s_formvalidate
|
Thanks kh99,
for the Social Group Form work perfect!!! but i do the same for Albums Edit and not work.... here the Albums Edit template Code:
$stylevar[htmldoctype] but javascript cannot read title and description.... any idea??? |
I think it may be because the tags for the title and description have no id attributes.
For example the delete checkbox has Code:
<input type="checkbox" name="delete" id="cb_delete" value="1" /> Code:
<input type="text" class="bginput" name="title" value="$formdata[title]" size="50" tabindex="1" /> has no id. |
Thanks again,
if i add id's at templates it's ok or i will have other problems ??? |
All times are GMT. The time now is 03:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|