¡@

Home 

2014/10/16 ¤W¤È 12:05:28

jquery Programming Glossary: mobileformready

Assign javascript value to php variable [duplicate]

http://stackoverflow.com/questions/16007435/assign-javascript-value-to-php-variable

to a php variable to do some if else statements. This is what I got. script var mobileFormWidthCheck window .width var mobileFormReady if mobileFormWidthCheck 767 mobileFormReady 22 else mobileFormReady 55 script php widthChecked script document.write mobileFormReady.. This is what I got. script var mobileFormWidthCheck window .width var mobileFormReady if mobileFormWidthCheck 767 mobileFormReady 22 else mobileFormReady 55 script php widthChecked script document.write mobileFormReady script echo widthChecked This works.. script var mobileFormWidthCheck window .width var mobileFormReady if mobileFormWidthCheck 767 mobileFormReady 22 else mobileFormReady 55 script php widthChecked script document.write mobileFormReady script echo widthChecked This works perfectly. But when..