Thursday, 11 February 2016

you can use this code in the following cases: 1) if you want to save data on submitting form then, replace onchange=“getSummary2(‘order’)” with onclick=“getSummary2(‘order’)” 2) if you want to save on key up then, replace onchange=“getSummary2(‘order’)” with onKeyUp=“getSummary2(‘order’)” 3) if you want to save data on change then use the code as it is ---------------------------------------------html code------------------------------------------------- ...

Sunday, 7 February 2016

You can generate unlimited textboxes and unlimited their sub-texboxes by using the below code.. HTML CODE <input type='text' name=''></input> <input id='btnAdd' type='button' class='btn btn-primary' value='+' onclick='AddTextBox(".$duty_id[$x].")' /> <button onClick=\"toggle_visibility('watch');\">?</button> <div id='TextBoxContainer".$duty_id[$x]."'> <!--Textboxes will be added here --> </div>  JAVASCRIPT...