<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Click a button from javascript</title><link>https://www.infopathdev.com:443/forums/thread/3346.aspx</link><pubDate>Tue, 24 Oct 2006 05:10:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3346</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3346.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3346</wfw:commentRss><description>Hello Eric, You cannot click on a button from javasript or managed code.&lt;br /&gt;Other way to get this functionlity is to call the "onClick" method of the button.</description></item><item><title>Re: Click a button from javascript</title><link>https://www.infopathdev.com:443/forums/thread/3345.aspx</link><pubDate>Tue, 24 Oct 2006 03:16:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3345</guid><dc:creator>Eric</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3345.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3345</wfw:commentRss><description>Thanks Shiva,&lt;br /&gt;&lt;br /&gt;But thats not quite what I had in mind - I want to do exactly the opposite of that.  I want to click a button from javascript, not call a javascript from a button.&lt;br /&gt;&lt;br /&gt;-Eric&lt;br /&gt;</description></item><item><title>Re: Click a button from javascript</title><link>https://www.infopathdev.com:443/forums/thread/3344.aspx</link><pubDate>Tue, 24 Oct 2006 03:07:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3344</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3344</wfw:commentRss><description>Hi Eric&lt;br /&gt;&lt;br /&gt;You can write the below code in button onClick event&lt;br /&gt;&lt;br /&gt;XDocument.View.SwitchView("View Name");</description></item><item><title>Click a button from javascript</title><link>https://www.infopathdev.com:443/forums/thread/1621.aspx</link><pubDate>Mon, 23 Oct 2006 21:58:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1621</guid><dc:creator>Eric</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1621</wfw:commentRss><description>Can I have javascript code click a button on one of my form's views?&lt;br /&gt;&lt;br /&gt;something like: XDocument.view[myview].aButton.click() ???????&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;-Eric&lt;br /&gt;</description></item></channel></rss>