abrahamgarcia27 Posted November 18, 2011 Share Posted November 18, 2011 <div class="page_index"><a href="javascript:jQuery('.flipbook').flipbook.gotoItem(5);">9. And More...</a></div> I have this jquery flipbook script that i bought from code canyon, but it doesnt have a function that i want. What i want to do is insert a text box where i can input the item that i want to go to. In this example you see it goes to item too with a click. But what i want is to have something like this <form> <input type="text" /> <button type="submit" onclick="Go to the value inserted into the text box" /> </form> Link to comment https://forums.phpfreaks.com/topic/251401-go-to-item-within-a-text-box/ Share on other sites More sharing options...
requinix Posted November 18, 2011 Share Posted November 18, 2011 Instead of 5 use the value from whatever textbox. Hint: jQuery('#textbox').val() Link to comment https://forums.phpfreaks.com/topic/251401-go-to-item-within-a-text-box/#findComment-1289420 Share on other sites More sharing options...
abrahamgarcia27 Posted November 19, 2011 Author Share Posted November 19, 2011 I couldn't make it work sorry i am really new to jquery and i am having so much problems making the function work Link to comment https://forums.phpfreaks.com/topic/251401-go-to-item-within-a-text-box/#findComment-1289482 Share on other sites More sharing options...
trq Posted November 19, 2011 Share Posted November 19, 2011 I would suggest you Google some "beginner jQuery" tutorials as you are way off the mark. It is literally the most popular Javascript out there and as such, there are plenty of tutorials explaining the basics. Link to comment https://forums.phpfreaks.com/topic/251401-go-to-item-within-a-text-box/#findComment-1289509 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.