php - Reload the page if i click on outside the multiple dropdown box using javascript -


i have small query, have multiple dropdown box in form. after selecting multiple value, if click on outside multiple drop down box page should reload. how can make happen using javascript. have used "onmouseout(reload.form)" option not working. please me on this.

thanks ranjith

in scenario, might need click event rather mouseout(which not on click when mouse loses focus).

for more details click outside element refer below link

javascript detect click event outside of div

so once capture click out event, can trigger page load using

window.location.reload(true) or window.location.reload(false)

true or false depends on need load cache or server.

hope helps!!


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -