var i, x = document.evaluate('//*[@name="room"][@value="8847"]', document,
null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for ( i=0 ; i < x.snapshotLength; i++ )
    x.snapshotItem(i).setAttribute("value", "486423");



On 5 February 2011 19:42, Oden Smith <[email protected]> wrote:

> I'm trying to find a good script to replace
> param name="room" value="8847"
> with
> param name="room" value="486423"
>
> What would be a good script to do this?
>
> Also, a broad replace 8847 with 486423 would work, but I'm having
> trouble finding a way to do this inside html.
>
> --
> You received this message because you are subscribed to the Google Groups
> "greasemonkey-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<greasemonkey-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/greasemonkey-users?hl=en.
>
>


-- 
Coming soon - BravoStudio, a complete internet radio/tv solution

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to