Conclusion - it can't be done.
Workround:
$(A).filter(function() {
return $(this).attr(href) == href);
});
On Jul 2, 12:14 pm, Nikki Locke ni...@trumphurst.com wrote:
I am writing a test harness for a web app using jquery. When recording
a test, I add handlers for user
Conclusion: It can't be done.
Only workround is to look for javascript at the beginning of the
url, and either eval it, or use window.location, depending on the
result.
On Jun 25, 8:07 pm, Nikki Locke ni...@trumphurst.com wrote:
I am devising a test harness for a complex web application
Just to bring you up to date, turns out the problem wasn't the ajax
call not returning, it was in the code that processed the call, which
hung the browser!
The offending call was somthing like:
$(a[href='javascript:Submit('text')'])
On Jun 26, 11:45 am, Nikki Locke ni...@trumphurst.com wrote
Thanks for the help.
Turns out my problem is completely unrelated - some of the code I was
executing in response to the request was hanging the browser! So I
wasn't seeing any of my log output.
I'm starting a new thread on it, as it is to do with quoting inside
jquery selectors.
On 29 June,
I am writing a test harness for a web app using jquery. When recording
a test, I add handlers for user interaction events (e.g. click on an A
tag), and record details of the tag clicked. When playing back, I need
to find the tag (so I can emulate a click on it).
The A tags do not have id
, Nikki Locke ni...@trumphurst.com wrote:
I am building a web app that is controlled from a server. I want the
server to send objects to the app, which the app then processes. I am
using getScript for this, but it doesn't seem to be working for me.
I have example code at //jsbin.com/umuwi
) {
alert(e);
}
}
_jq_log is a function which merely outputs messages to the screen, so
I can see what is going on.
The request gets sent, but _jq_action is always null.
Nikki Locke
).
Is it just not possible to fire clicks on A links so that the normal
browser behaviour is emulated?
Nikki Locke
8 matches
Mail list logo