Wednesday, June 3, 2009

Re: [JavaScript] Request

Denis Caggiano wrote:
>
>
> Is there a way to request the DOM of an another page?
>
> Better yet, is there a way to know if the page that I will call will show
> some error?
>
> Here is my problem:
>
> Im using a hiperlink of the Gtalk and MSN in my web site.
> But if the user dont have Gtalk installed, the site show an error page
> that
> is not much friendly.
>
> The Skype has an JS verification, and works fine, if Gtalk and MSN had
> too...
>
> Tks.
>
> PS: Here the code for Skype (
> http://www.skype.com/share/buttons/advanced.html#detection
> <http://www.skype.com/share/buttons/advanced.html#detection>)
>
> [Non-text portions of this message have been removed]
>
>
you can write this to do that, you js verification,if verification
fail,you could set some variable,oh,you use ajax verification? that is
easy to do that,you could use request's status attribute to determine
the web location,like the window.location = "error.html";got it now

------------------------------------

Visit http://aiaiai.com for more groups to joinYahoo! Groups Links

<*> To reply to this message, go to:
http://groups.yahoo.com/group/JavaScript_Official/post?act=reply&messageNum=16698
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/JavaScript_Official/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:JavaScript_Official-digest@yahoogroups.com
mailto:JavaScript_Official-fullfeatured@yahoogroups.com

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/JavaScript_Official/

<*> To unsubscribe from this group, send an email to:
JavaScript_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

0 comments: