PDA

View Full Version : Javascript weasyl help



foxboyprower
01-12-2015, 11:05 AM
I've been working on a firefox extension to crosspost journals (after years of telling myself I'll learn programming). Now I'm waist deep in javascript code for it, and things seem promising.
But I've hit one big on the weasyl site. Pressing the submit button. There is no command to simulate a button press, and I don't know what function pressing the button triggers.
You can see the code I've written so far here (http://pastebin.com/5fGZBMwb).

How would I be able to trigger the submit function?

DrunkCat
01-12-2015, 03:36 PM
http://www.w3schools.com/jsref/met_form_submit.asp ?

foxboyprower
01-12-2015, 08:06 PM
huh... I just thought the "submit" button on art sites and the "submit" function was just a weird coincidence. Hopefully this works for the other art sites. Thank you so much. ^^ It works!

DrunkCat
01-13-2015, 11:07 AM
No problem.