QuitButton onClick

I'd like to close the browser onClick of some text inside of a <span>. What's the best way to go about doing this?

Joshua McGinnis
I don't know why I was trying

I don't know why I was trying to overcomplicate things. Yes, the javascript for application.quit() works fine. *slaps forehead

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Robert Galvin
Joshuaapplication.quit(); is

Joshua

application.quit(); is the javascript method that will work for RhoElements - does this solve your issue?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Nrusingha Chara...
Hello Joshua,If you like to

Hello Joshua,

If you like to close any application of RE the this onclick will help

<input type=button value ="quit" onclick="application.quit();"/>

you can use

window.close() also.

Does that help??

Thanks

Patro

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments