|
| 10 Jun 2014 12:58 AM |
any idea why this isn't working? $.get("http://www.roblox.com/Watermelon-Samurai-item?id=160207626", function(Data){ $(Data).find("ctl00_cphRoblox_AddRemoveFavoriteLink").click() }) I don't want to use document.getElementsByClassName either.
- Yes, I am askshane if you're wondering, add 17,483 to my post count. - |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 12:07 PM |
m
- Yes, I am askshane if you're wondering, add 17,483 to my post count. - |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 12:16 PM |
| I know most languages except Java and C++. |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 12:29 PM |
| By the way, what is this supposed to do? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 02:26 PM |
'I know most languages except Java and C++.' Get out.
OP, if you are going to ask for javascript help on a Lua forum, at least be nice enough to tell us before hand that you are using jQuery |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 02:37 PM |
| Because you don't know even 5% of the programming/scripting languages out there, maybe no one does. |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 02:43 PM |
I didn't say i know EVERY single language, i know some which are different than Lua. So sit down and think before you post something. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 02:45 PM |
You don't even know "a small some" When you said you know "most"
Do you get some sort of pleasure out of lying? |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 03:49 PM |
don't get off topic pls
- Yes, I am askshane if you're wondering, add 17,483 to my post count. - |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 03:50 PM |
Because get isn't going to return the document but the actual HTML on the page. You can't 'click' a string. |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 04:00 PM |
then how would i do it in jquery without document.getElementsByClassName
- Yes, I am askshane if you're wondering, add 17,483 to my post count. - |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 04:06 PM |
| You can't click a button on another web page using the get request. |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 04:10 PM |
then how would i do it?
- Yes, I am askshane if you're wondering, add 17,483 to my post count. - |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 04:16 PM |
| @OP Using jQuery, correct? |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 04:17 PM |
| The best thing you could do is attempt to run the code that the button itself runs, if you could find it and modify it to your needs. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 04:31 PM |
| You can't do what you are trying to do. |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2014 04:33 PM |
| @cnt I've made a like bot on ask.fm. I'm pretty sure this is also possible somehow. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Jun 2014 04:35 PM |
It's not. Why would clicking a button on another page be possible? For one that's extremely security risky, and for two, if you were to use frames or iframes, you are also limited to what you can do to that page as well.
The only way would probably be a browser add-on or if you set it up on the other web page |
|
|
| Report Abuse |
|
|