![]() |
add data into selectfild with ajax
i have a selectfield:
HTML Code:
<form action="musikcp.php" method="get"> HTML Code:
<div class="vbmenu_popup" id="neuekat_menu" style="display:none"> |
You need to use JavaScript for this, but it's not really obvious how to do it. Here's a barebones set of code that works.
Code:
<script> Code:
<form> Code:
<form action="javascript:Test(document.forms[1].elements['cat'].value);"> And if they're going to test it, I don't have to. So there. ;p |
You have to also keep in mind that not everyone has Javascript enabled.
|
yes, thats clear
theres a normal method available just the js part is missing |
All times are GMT. The time now is 05:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|