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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -