Php/javascript or other language experts out there.?
-
I'm in the process of creating a filtered register page where users can choose what type of account they want (example : basic account or full account) which would show something like: <select name="utype"> <option select value"<?php echo $value['user_type'];?>"> <?php echo $value['ul_desc'];?></option> <?php } ?> </select> Ok so what I want to happen is whenever a user chooses among the given options on the list, a registration form will appear (note: I want the registration form to appear only after an option has been chosen) and I want the registration form to be different from each other whenever another option is chosen. So is it possible to make an "input type="text"" and an "input type="submit"" hidden only until an option is selected on the <select> list? If so, can you post any tutorial links here, I'd be very thankful to those who can!
-
Answer:
You would need Javascript to make it happen as soon as they click on an option in the select list. What you can do is have onChange="myFunction(value)" on the <select> and have Javascript show/hide the rest of the form depending on the value. This can all be done with basic Javascript, but if you're interested in more advanced animation, jQuery would be great for this as well.
Saint Anger at Yahoo! Answers Visit the source
Other answers
ya it is possible to load a page in particular section of Web page by using include() function in php you should use this Function inside the <TR><TD></TD></TR>;
Bijay r
Related Q & A:
- How to pass javascript jQuery variable value in php array?Best solution by Stack Overflow
- How to change javascript values to php?Best solution by stackoverflow.com
- Why is Javascript called Javascript, if it has nothing to do with Java?Best solution by Stack Overflow
- How to get JavaScript value in PHP?Best solution by Stack Overflow
- How to call Javascript function in PHP?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.