![]() |
Limit action
Hey guys! I currently have a js function. It is called with a html link and it displays a snippet of html.
How can I limit the ammount of times this function displays the html? I want it to only show it 3 times, and after that i want it to display an error box. How can this be achieved? :) |
Although you might not think the same, your post is really very vague and lacking details. Post up your code, or a succinct sample, and it'll be ten times easier to provide exactly what you want.
|
Quote:
The js createFileInput function: PHP Code:
|
Sorry guys, I must of posted this when I was completely sleepy, pretty simple to do, I have completed it myself. Thanks though Salathe! ;)
|
| All times are GMT. The time now is 06:33 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0