Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 01:55 PM |
if so, im using basic jquery and this doesn't seem to work
$("#About").ready(function(){ console.log("About ready"); $("#About").click(function(){ console.log("about clicked"); }); });
im getting "about ready" printed in console, but the function for .click doesn't work
but the first one works
$("#Button").ready(function(){ console.log("ready"); $("#Button").click(function(){ console.log("clicked"); window.location.href = link; }); });
thanks, i appreciate it. |
|
|
| Report Abuse |
|
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:06 PM |
some people are smart enough on here to do this too
mr "..." |
|
|
| Report Abuse |
|
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:09 PM |
wasnt 2 be rude sry, just eh.
but maybe, thanks, |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2016 02:09 PM |
| Jhend clearly isnt 1 of them.. |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2016 02:10 PM |
| I think its window.location.href(link); |
|
|
| Report Abuse |
|
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:13 PM |
the button one already works, but thanks
its the about one |
|
|
| Report Abuse |
|
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:13 PM |
owait, you mean causing the issue??
ill check it out, thx. |
|
|
| Report Abuse |
|
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
| |
|
Mkjp87
|
  |
| Joined: 01 Feb 2012 |
| Total Posts: 147 |
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:26 PM |
| there's no error, that's why im lost, lol. |
|
|
| Report Abuse |
|
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 15 Feb 2016 02:26 PM |
| but its not saying "about clicked" in the console, it's just saying "About ready" |
|
|
| Report Abuse |
|
|
Mkjp87
|
  |
| Joined: 01 Feb 2012 |
| Total Posts: 147 |
|
|
| 15 Feb 2016 02:34 PM |
| It works for me, it should work for you too. |
|
|
| Report Abuse |
|
|