ajax - Problems with ajax_function i get an error -
hello stackowerflow people, ive got problem, im trying use 1 of community scripts, , cant find out problem. error ajax_function, how can solve it, or fix please help, here script:
<script> function editcolumn(dbc) { var params = 'option=edit&dbc=' + dbc ; var divdbc = 'edit_' + dbc; ajax_function('ajax_edit.php', params, divdbc); } function savecolumn(dbc) { var value = document.getelementbyid('date_'+dbc).value; var params = 'option=save&value=' + value + '&id' + dbc ; var divdbc = 'edit_' + dbc; ajax_function('ajax_edit.php', params, divdbc); } </script>
and here error get:
referenceerror: ajax_function not defined
how can possible create ajax function work script?
it means ajax_function() not declared or not found
find keyword in of files "function ajax_function()"
or
check if needs import script contains function ajax_function()
example:
<script src="thefile.js"></script>
Comments
Post a Comment