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
Share This Thread :

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.


Related Threads
Thread Author Replies Views Last Post
  Gmail and IG phone verification service recommend please kumarz 1 23 6 hours ago
Last Post: urangi
  Best cloaker for google adowrd and facebook Pakibuz 5 161 10 hours ago
Last Post: Pakibuz
  Native ads and affiliate force23 1 98 2019-02-13, 11:36 AM
Last Post: Elites_Mate
  PIN Submit and Fortnite niche Leo 3 311 2019-01-27, 12:07 PM
Last Post: Draguny
  OGAds and instagram? ZeshanButt 4 396 2019-01-07, 09:17 AM
Last Post: lust





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

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