wongerlt Posted February 19, 2017 Posted February 19, 2017 Hello, what can be wrong in me code in tutorial dialog <edit width=180 var="code"> <button action="link code_$code" value="Submit Code" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> in writing in edit input code and click button. but in server side i get this "code_$code", how to make $code from edit?
0 vampir Posted February 19, 2017 Posted February 19, 2017 <button action="link code_$code" value="Submit Code" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> should be <button action="link code_ $code" value="Submit code" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> Later when you receive bypass and separate tokens, you can use String#trim method, which delates spaces at the beginning and at the end of the string.
0 wongerlt Posted February 19, 2017 Author Posted February 19, 2017 <button action="link code_$code" value="Submit Code" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> should be <button action="link code_ $code" value="Submit code" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> Later when you receive bypass and separate tokens, you can use String#trim method, which delates spaces at the beginning and at the end of the string. then i get $code but not value from edit input. I npchtmldialog work fine but in tutorial windows dialog not working
0 wongerlt Posted February 19, 2017 Author Posted February 19, 2017 fixed. Work with action="bypass code_ $code"
Question
wongerlt
Hello,
what can be wrong in me code in tutorial dialog
in writing in edit input code and click button. but in server side i get this "code_$code", how to make $code from edit?
3 answers to this question
Recommended Posts