node.js - var not getting value and I dont know why -


i trying assign value input box var when pass function blank object?

var newuser = {'username': $('#finduser fieldset input#inputsearchuser').val()}  populatetablefind(newuser);  

but result blank?

if do:

populatetablefind($('#finduser fieldset input#inputsearchuser').val()); 

then works... don't know why? know doing wrong here, thanks.

in first case try

var newuser =  $('#finduser fieldset input#inputsearchuser').val(); 

you should same result.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -