[Pro] Finding any tag using fwFindEnclosing("")

Hi Everyone
I have been trying to create a little script and I cant for the life of me work out how to write something… (No change there!!! )
What I would like to achieve is to use the: fwFindEnclosing to find any tag

I have used:
fwFindEnclosing(“h1”);
and
fwFindEnclosing(“p”);
but how would I find any tag that might be present… is there a way of adding more tags to the:
fwFindEnclosing(" ");
so it will find the one thats there or just make it a general find any tag type.

Any help will be very helpful…

Pems :slight_smile:


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Pems,
Although you can pass in an array to the fwFindEnclosing function to
look for various tags you can also look for the direct parent by
passing a null value as well.
Something like;
var enclosing = styleslink.fwFindEnclosing();

When I have more time I’ll dig out an example.
Kind regards,
Tim.

On 29 Jul 2010, at 17:06, pems wrote:

Hi Everyone
I have been trying to create a little script and I cant for the life
of me work out how to write something… (No change there!!! )
What I would like to achieve is to use the: fwFindEnclosing to find
any tag

I have used:
fwFindEnclosing(“h1”);
and
fwFindEnclosing(“p”);
but how would I find any tag that might be present… is there a way
of adding more tags to the:
fwFindEnclosing(" ");
so it will find the one thats there or just make it a general find
any tag type.

Any help will be very helpful…

Pems :slight_smile:


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim
Thats great, it did the trick.
Thanks for pointing me in the right direction
Pems


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options