Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Java makevar (https://forums.graalonline.com/forums/showthread.php?t=134262033)

xAndrewx 02-09-2011 04:54 PM

Java makevar
 
Sorry- I didnt know where to post this.
Is there a Way to detect an input box like so
HTML Code:

for (I=0; I < 5; I++)
  Echo( makevar("inputbox" @ i). text);
}

Sorry- writing on my phone

For java- using input boxes & ids in them.
Thanks

fowlplay4 02-09-2011 05:09 PM

You could just define an array of input boxes, and loop through that no?

I vaguely remember event handlers pass you the object as well.

xAndrewx 02-09-2011 07:46 PM

since it was for work, I don't think they needed more than 30. I added the values in a loop and cycled through.

Thanks :D

(You gave me the idea)


All times are GMT +2. The time now is 01:29 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.