xKiv
Active member
Did the alert() work? If so, I suspect you're coming across another peculiarity of this method of doing things, which puts a slightly higher burden on the scripters: various browsers "clean up" the HTML they are given, and when jQuery fetches said HTML, it gets the browser-altered version. For the most part, the only difference is in quotes added around attributes that originally lacked them. Easy enough to work around with a matcher, but can cause some head-scratching. Which browser did you test in?
That would only affect things if you were modifying the html with client side javascript.
But you are only using javascript to retrieve the already relay-script-modified html from mafia (which doesn't know or care about what the browser does to its internal representation of said html).
Also, if you are modifying html with client side javascript, you should stop using matchers, and manipulate the DOM directly (using, say, jquery).