161
rated 0 times
[
165]
[
4]
/ answers: 1 / hits: 17815
/ 11 Years ago, thu, november 21, 2013, 12:00:00
It shows Syntax Error: missing : after property id near '<img src=loading.gif />'
;`
<script>
$(document).ready(function() {
$(#client).on(change, function() {
var clientid=$(#client).val();
$.blockUI(
{
'<img src=loading.gif />';
timeout: 5000
});
$.ajax({
type:post,
url:clientnetworkpricelist/yourfile.php,
data:title=+clientid,
success:function(data){
$('.blockUI').hide();
$(#result).html(data);
}
});
});
});
</script>
More From » ajax