erich.wanker Posted January 11, 2023 Share Posted January 11, 2023 Hi .. 🙂 what is wrong with this code (embeeded in UniHTMLFrame) -> servermodule -options - soControlNameAsID = true .. i cant find the problem 😉 <script> var theInput = document.getElementById("kb_selected_color"); var theColor = theInput.value; theInput.addEventListener("input", to_delphi, false); function to_delphi() { ajaxRequest(f_color.form,''Farbe'' , [''param0='+theInput.value+''']);           <-----------------HERE is the problem } </script> Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 12, 2023 Share Posted January 12, 2023 8 hours ago, erich.wanker said: Hi .. 🙂 what is wrong with this code (embeeded in UniHTMLFrame) -> servermodule -options - soControlNameAsID = true .. i cant find the problem 😉 <script> var theInput = document.getElementById("kb_selected_color"); var theColor = theInput.value; theInput.addEventListener("input", to_delphi, false); function to_delphi() { ajaxRequest(f_color.form,''Farbe'' , [''param0='+theInput.value+''']);           <-----------------HERE is the problem } </script> Hello Try to create ajaxRequest like the below code theInput = document.getElementById("O14_id-inputEl"); ajaxRequest(UniLoginForm1.form, "Farbe", {param0: theInput.value })  1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.