Home>
There is a script that clicks on DIV with a specific class 1 time per day:
<
script >
jQuery (Document) .ready (Function ($) {
If (! $. Cookie ('Showchat')) {
SetTimeout (Function () {
var date= new date ();
var minutes= 60 * 12;
date.settime (date.gettime () + (minutes * 60 * 1000));
$ .Cookie ('Showchat', "True", {expires: date});
jQuery (". hoverl_ca29"). click ()
}, 10 * 1000);
}
});
≪
/script >
Class ".hoverl_ca29 "
The problem is that "ca29 " is constantly changing to random.
Tell me how in the line "jQuery (". hoverl_ca29 "). click () " make a regular one so that the script does the script in no dependence on the random value in the class name?
Thank you in advance!
Related questions
- javascript : How to correct date in datepicker?
- javascript : Checkbox validation
- javascript : Why can't I be silent about the meaning of properties?
- javascript : The animation of hovering over a link at the cursor is not displayed
- javascript : How to implement moving a line inside a block?
- jquery : Is it possible to insert my attribute into an HTML tag?
- javascript : Jquery put elements in div
- Checking if a table is full in JQuery
- javascript : Active menu item IVI on JS
- javascript : How to make a replaceable picture in a drop-down block?
Give several examples of random values. At the target diva is the only class?
UModeL2021-04-28 21:43:17