Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Account Settings using <select>
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 431679" data-attributes="member: 36373"><p>You should use JavaScript to prevent the number of calls to the server</p><p></p><p></p><p>Have each DIV box with it's own form and php handler. Make each div display none and give it an ID.</p><p></p><p>on the select for your form put onchange="myFunction()"</p><p></p><p><script></p><p>function myFunction(){</p><p>hide all element, then execute the lower code</p><p> if value of select == "this"</p><p>getelementbyid("this").style.display = "block";</p><p>}</p><p></script></p><p></p><p>You can use google and w3schools to figure out the rest</p></blockquote><p></p>
[QUOTE="JayC, post: 431679, member: 36373"] You should use JavaScript to prevent the number of calls to the server Have each DIV box with it's own form and php handler. Make each div display none and give it an ID. on the select for your form put onchange="myFunction()" <script> function myFunction(){ hide all element, then execute the lower code if value of select == "this" getelementbyid("this").style.display = "block"; } </script> You can use google and w3schools to figure out the rest [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Account Settings using <select>
Top