Do you have JQuery on board? Have you tried jquery.trigger?
http://api.jquery.com/trigger/
\\.\;1310009 wrote:When people want "Click button" routines, it is often linked to a "Vote for us" type button.
If its not then theirs some other motive to want a click automated, that rings alarm bells or sends up warning flares for me and you have to ask what is the motive for clicking inside a DIV, what would be in the div to need it to be clicked.
Maybe they're scraping product data from their supplier's web site (because there is no other automatable way to get the info) and they need their script to click the "search" button, or maybe they're developing automated tests for their own SAAS application, or who knows. I can imagine of any number of perfectly legitimate reasons to want to do it.
I don't want to jump down this particular responder's throat, but their post highlights an issue I feel strongly about and I want to make these points to every potential technical forum post responder who reads this:
A whole lot of us techies are in circumstances resulting from choices of others that we have no control over. It's frustrating enough just enduring our situations and wrangling with the tech we're more-or-less forced to work with without having our fellow techies questioning our motives or the tech choices or approach choices that have been made. If we question people's motives or their choices, then we force everyone to write all kinds of irrelevant background every time they post a question! That's frustrating not only to the people posting questions, but also to people who are here to try to answer people's questions. Tons of people are managing to do all kinds of terrible things all the time. Clearly, if someone wants to do something evil, and there's a way to do it that is within reach for them, they're going to find that way whether you answer their question or not. Just because you can't imagine what possible legitimate reason they might have for what they're doing doesn't mean there isn't one.
Please folks, let's not appoint ourselves judges or juries, let's just answer questions to the best of our ability.