PhantomJS - Login with jquery is not working in windows'http://localhost:3000', function() {
page.evaluate(function() {
    $('#username').attr('value', 'username');
    $('#password').attr('value', 'password');

I'm using jquery to login. And using .change(); to trigger an event. This code works fine for linux but not working for windows. Am i doing it wrong or is there any other way to solve this issue in windows?