I 've been looking over internet for the past 5hours about a script (php) that could do this:
If a user refresh the page more than 10 times for 5 seconds
(so 0,5 seconds time for a normal...
Well i toke your advice,and your code , but now it's not "Strik Standards" it's Fatal error with same info:only variables should be passed at....
it's at the same line
It is strange error (first time I've evern seen this kind of notice)
so i've looked over internet and i've found nothing so far...
here is the code that is causing it:
Okay so as the title says i have a php file with some jquery script inside which help me to "paginate" and show some data from db (usinh php/mysql).
Now i want to edit the way the page numbers are...
Well it is stillconfusing for a newbie in js like myself.
I tried to replace the (part of the code) with your example , and didn't work at all..
you need to give me more specifics...
I don't really know how to make it global varaible, i looked up in google but i can't implement it into my code.Can anyone help me make id a global variable and put it aftet...
This is exactly what i've been expecting, because i tought that id is value only inside a function and the sytax (even if is the right one) wont help me , because i can't really acess it.
So i did...
If i change the code as DaninMa wrote, the alernt isn't shown... and the div isn't reloaded aswell...
This is the entire ajax_vote.js code, the rest
myitem.php is just 12divs with...
Well as i said i've tried a lot of these combinations .. and doesnt work.
Only works when i use original code and it reloads only the first div with id txtReload... and after a refresh i can see the...
Hello everybody i really hope someone here could help me out.
This is kind of ajax/php question but it's all up-to simple js value now.
I have this piece of code (for ajax rating):