Jump to content

clicking a button by value


n00bster
 Share

Recommended Posts

ok i have a button that doesn't have a button id or name i used the debug bar but it doesn't give it to me?

it does give me a code but i can't make it out

CODE
<INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; COLOR: white; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #554433" onclick=sendLevelUp(); type=button value="[ Ok! ]">

i guess it would be click by value?

and if so how would i word it there is nothing in the helpfile that states how to click a button by it's value

Edited by n00bster
Link to comment
Share on other sites

ok i have a button that doesn't have a button id or name i used the debug bar but it doesn't give it to me?

What is the button from, another program or your own? Where did you get that code from?

[center]See the Helpfile[/center]

While Alive()
	 DrinkWine();
}
[center][/center]
Link to comment
Share on other sites

function sendLevelUp(){

var data = "str="+player.maintenance.str+"&dex="+player.maintenance.dex+"&vit="+player.maintenance.vit+"&knw="+player.maintenance.knw+"&mana="+player.maintenance.mana+"&wis="+player.maintenance.wis;

evalpostAJAXHtml("levelup.php?r="+Math.random(),data,2);

i also got this code out of it

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...