Javascript bookmarklet outputting 'true' in Firefox instead of performing script -


we running quick javascript function fill out , save form move forward in workflow (for testing purposes). it's running fine in browsers except firefox - , on couple people's machines.

javascript:!function(){$("#ruledetailform\\.authorizingstatutes").val("test")}(); 

there more script, above example results in same issue. both copying url bar or adding bookmarklet results in blank white page displaying 'true' instead of copying "test" relevant field.

the same users have no issues using other browsers, , other people have had success working in firefox. firebug doesn't show useful, , on up-to-date version of firefox.

try wrapping in in void

javascript:void(function(){$("#ruledetailform\\.authorizingstatutes").val("test")}()); 

Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -