asked on February 1, 2019
I am trying to update the JS on a form. It won't let me save and it is not giving an error. This is the original:
clean();
function clean(){
if($('input [name=stepid]').val()=="11"){
$('.clear input').val('');
}
And this is what I am trying to change it to:
clean();
function clean(){
if($('input [name=stepid]').val()=="11"){
alert('worked!');
$('.clear input').val('');
}
I feel that it won't save because maybe the code isn't valid, but it is not throwing any error or anything.
Any ideas or suggestions?
0
0