Displaying 2 results from an estimated 2 matches for "originalresponse".
Did you mean:
original_response
2006 Apr 06
4
function onComplete how to overload?
Hi all. I my apps I need to use Ajax.Request Object. One of the object options is onComplete fuction which looks like this:
funcion onComplete (originalResponse)
{
..some operations
}
I need pass to function one more parameter, how to do it? is is possible? I can''t use AJAX Updater because result of Ajax Call is uploaded to the div that I defined earlier, and in my situations I don''t know id of my html element. I need to do something like...
2006 Feb 19
4
Multiple Characters Negate Using Regexp
Dear experts,
I am trying to build a regular expression to filter out anything between <script ... > and </script> tags where I can specify something using negate class to exclude more than one character in sequence.
I tried:
originalresponse.gsub(/<script([^>]+)>([^<]+)?<\/script>/,'''')
but obviously if the script has the character < before </script> then my regexp breaks.
I also tried:
originalresponse.gsub(/<script([^>]+)>([^<\/script]+)?<\/script>/,''&...