i'm trying to obtain an input value with this:
var $a = ('#telephone_number').val();
alert($a);
But nothing, any idea?
telephone_number is the id of the input.
Regards
Javi
i'm trying to obtain an input value with this:
var $a = ('#telephone_number').val();
alert($a);
But nothing, any idea?
telephone_number is the id of the input.
Regards
Javi
use this
OR
currently you are not passing the div id to jQuery, u are just doing (#tel_no) this is wrong.