Sr Web Developer Interview Questions

803 sr web developer interview questions shared by candidates

A page uses 2 js files. Script1.js has a login function in a pop-up, script2.js contains event handlers for certain clicks on a page. If the user is logged in, the click event is processed in script2.js. If they aren't they get the pop up from script1.js and if/when they login in, whatever they clicked goes thru in script2.js. How do you do this?
avatar

Senior Web Developer

Interviewed at Glassdoor

3.9
Feb 7, 2013

A page uses 2 js files. Script1.js has a login function in a pop-up, script2.js contains event handlers for certain clicks on a page. If the user is logged in, the click event is processed in script2.js. If they aren't they get the pop up from script1.js and if/when they login in, whatever they clicked goes thru in script2.js. How do you do this?

Viewing 201 - 210 interview questions

Glassdoor has 803 interview questions and reports from Sr web developer interviews. Prepare for your interview. Get hired. Love your job.