jquery Programming Glossary: sel_stud
dynamic drop down box? http://stackoverflow.com/questions/16924082/dynamic-drop-down-box 'Document is ready' '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url.. function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url another_php_file.php data 'theOption.. type POST url another_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response ' whatigot..
Place PHP results inside HTML page http://stackoverflow.com/questions/17221813/place-php-results-inside-html-page code and looks like this '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url your_php_file.php.. function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url your_php_file.php data 'theOption ' sel_stud.. .ajax type POST url your_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response ' whatigot..
dynamic drop down box? http://stackoverflow.com/questions/16924082/dynamic-drop-down-box script script type text javascript function alert 'Document is ready' '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url another_php_file.php data 'theOption ' sel_stud success.. function alert 'Document is ready' '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url another_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response.. var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url another_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response ' whatigot '#LaDIV' .html whatigot '#theButton' .click function..
Place PHP results inside HTML page http://stackoverflow.com/questions/17221813/place-php-results-inside-html-page In fact it's pretty easy. Ajax goes in your javascript code and looks like this '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url your_php_file.php data 'theOption ' sel_stud success function.. in your javascript code and looks like this '#stSelect' .change function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url your_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response.. function var sel_stud this .val alert 'You picked ' sel_stud .ajax type POST url your_php_file.php data 'theOption ' sel_stud success function whatigot alert 'Server side response ' whatigot END success fn END .ajax END dropdown change event Note..
|