ฉันใช้ jquery mobile สำหรับ phonegap บนแอปที่ฉันกำลังสร้าง ดังนั้นฉันจึงอนุญาตเฉพาะ HTML, JavaScript และ CSS เท่านั้น (ไม่ใช่ PHP) ฉันต้องส่งข้อมูลจากกล่องข้อความไปยังหน้าถัดไปเมื่อกรอกข้อความ พื้นที่ ฉันไม่แน่ใจว่าจะทำอย่างไรใน JavaScript โดยไม่มี php.
//text input feild
<div data-role="fieldcontain"><label for="name-c">Enter Challenge:</label>
<input id="name-c" name="name" type="text" value="" /></div>
// ป้ายกำกับปุ่มสำหรับการเลือก
<div data-role="fieldcontain"><label class="select" for="select-choice-c">Challenge Type:</label> <select id="select-choice-c" name="select-choice-c"><option value="standard">Challenge</option><option value="rush">Public Challenge</option> </select></div>
Any help would be awesome! Thanks!