JavaScript - An Interesting One...
Right - here's an interesting one!
I have coded up a system which has an admin section which uses sessions and keeps timing out (server settings). I have tried by locally changing the ini settings for the scripts, but this still doesn't work. Now, I can't change the server settings, but what I was thinking was to have a little bit of AJAX (probably jQuery) that every five minutes submits a simple query to keep them signed in and the remaining time until timeout refreshed. Now, the question comes - how would I go about this!! Any ideas? Thanks in advance! Similar TutorialsHello guys I am very much a novice with javascript, but I have a problem with which I think one of the JS gurus in here might be able to help with. I have about 10,000 keywords on a single web page. There is a checkbox next to every keyword. Some of these keywords are 2 to 3 word phrases. I can type a word in a browser like Firefox and highlight all the instances that a particular keyword is found. Unfortunately there is no firefox extension that would automatically check a box next to the highlighted/found keyword. Instead of manually checking the checkbox next to every keyword highlighted in the browser here is what I would ideally like to accomplish (with the help of javascript). - Have a text field on top of the page and be able to type in a word and hit submit - if a word is found among the keywords/phrases on the page, then the checkbox next to that keyword/phrase is automatically checked. All i need is the checkboxes checked for every instance the searched keyword is found. I don't care if the above procedure is used. If someone can suggest a better route i'm open for it. I don't see why it wouldn't be possible with javascript code. Any help would be greatly appreciated. |