how can I get the number to open data-ca-target-id="login_block1434" login modal on all pages
You can use the following selector
$("a[data-ca-target-id^='login_block']")
bunu buraya nasıl yazabilirim. teşekkürler
don't have nobody to help me
Please clarify your goal in more details. What do you want to do?
https://ibb.co/4Zct4x4print screen
How and where do you plan to get it? By javascript after the page is loaded?
How and where do you plan to get it? By javascript after the page is loaded?
yes, it can be, or it can be with a simpler smarty, if you have a method, I can try
For js use solution from post #2. You can get list of all divs which ID starts with "login_block"
Try something like
then check console in the developer console of your browser
(!) Not tested
According to many pages, the number data-ca-target-id="login_block1434" --> 1434 is changing. cscart_bm_snapping from the database blocks/wrappers/onclick_dropdown in the wrapper column in the table.according to the data that says tpl
This is not error. Looks like the element does not have ID attribute