Javascript and onclick error.
2014-02-13, 08:32 AM,
#1
What i'm trying to make is that when an image appears (via function) it should be clickable and pop-up the widget. However, whenever i add the onclick to the code the image disappears.
Part of the code:
Code:
function func() {
var a=setTimeout("document.getElementById('down').innerHTML='<img src=\"images/download.png\" >'",30000);
When onlick is added the image is not showed.
Code:
function func() {
var a=setTimeout("document.getElementById('down').innerHTML='<img src=\"images/download.png\" onclick=\"startGateway(\'111111\');\">'",30000);

Somebody please help me, i've spent several hours trying to solve this.
Mad
2014-02-13, 08:42 AM,
(This post was last modified: 2014-02-13, 08:46 AM by Supernova.)
#2
Hey,
Had the same problem...
Two seconds broo will get the solution I did.

Too tired to remember but it was pretty simple tbh.



Actually
Just be lazy and create another function like this
function whateverrrr(){
startGateway('111111');
}


Then on your onclick just write
onclick=\'whateverrrr()\'

That should work fine, too lazy to dig out what I did but that^ will work.
Latest Thanks - View all

Matt1(2014-02-14 01:28 AM) 
2014-02-14, 01:30 AM,
#3
(2014-02-13, 08:42 AM)Supernova Wrote: Hey,
Had the same problem...
Two seconds broo will get the solution I did.

Too tired to remember but it was pretty simple tbh.



Actually
Just be lazy and create another function like this
function whateverrrr(){
startGateway('111111');
}


Then on your onclick just write
onclick=\'whateverrrr()\'

That should work fine, too lazy to dig out what I did but that^ will work.

Thank you soo fucking much!!!!!
You made my day!! Thanked and repped :)
Latest Thanks - View all

Supernova(2014-02-14 02:12 AM) 
2014-02-14, 02:13 AM,
(This post was last modified: 2014-02-14, 02:14 AM by Supernova.)
#4
(2014-02-14, 01:30 AM)Matt1 Wrote:
(2014-02-13, 08:42 AM)Supernova Wrote: Hey,
Had the same problem...
Two seconds broo will get the solution I did.

Too tired to remember but it was pretty simple tbh.



Actually
Just be lazy and create another function like this
function whateverrrr(){
startGateway('111111');
}


Then on your onclick just write
onclick=\'whateverrrr()\'

That should work fine, too lazy to dig out what I did but that^ will work.

Thank you soo fucking much!!!!!
You made my day!! Thanked and repped :)
Haha no problem man, happy to help! :)

If you need help with anything else, just hit me up.


Possibly Related Threads...
Thread Author Replies Views Last Post
  OGads captcha locker onclick code ? gamertrial1 1 171 2017-08-11, 10:04 AM
Last Post: lovecash
  Fraudfilter Campaign Setting Error - Urgent Help Needed. intkhab 2 181 2017-08-08, 01:53 PM
Last Post: intkhab
  Need Help With ONCLICK Contenlocker and WordPress 5light 7 264 2017-06-27, 08:41 PM
Last Post: 5light
  Is it possible to convert the landing page protection into javascript? ๖ۣۜPhoenix 5 199 2017-06-09, 11:54 AM
Last Post: tanfirislam
  does BingAds allow onclick content lockers? watiki 2 281 2017-04-28, 02:58 AM
Last Post: ougasoft




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top