<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 06:02:44 +0000</lastBuildDate>
    <item>
      <title>(jQuery) jQuery and Clicking an ASP.NET Linkbutton - weldonr30</title>
      <link>https://snipplr.com/view/65766/jquery-and-clicking-an-aspnet-linkbutton</link>
      <description>&lt;p&gt;This is a pretty standard jQuery method to listen for the enter key and simply "click" the button.  However, if you are using a LinkButton this code will not work.  The reason for this is that a LinkButton is rendered to the browser as an Anchor tag with a href property that contains a javascript action to trigger the postback.  Click does nothing on the button as there is nothing for it to complete.&lt;/p&gt;</description>
      <pubDate>Sat, 23 Jun 2012 01:30:15 UTC</pubDate>
      <guid>https://snipplr.com/view/65766/jquery-and-clicking-an-aspnet-linkbutton</guid>
    </item>
    <item>
      <title>(jQuery) Stop Enter key (default submit method) &amp; replace with specified method - weldonr30</title>
      <link>https://snipplr.com/view/65396/stop-enter-key-default-submit-method--replace-with-specified-method</link>
      <description>&lt;p&gt;13 is Enter key&#13;
return false cancels the postback&#13;
&lt;p&gt;In this case I am calling the javascript &lt;strong&gt;doPostBack and telling it to execute the txtBox&lt;em&gt;TextChanged method&#13;
brief tutorial on _&lt;/em&gt;doPostBack here: &lt;a href="http://aspalliance.com/895_Understanding_the_JavaScript___doPostBack_Function.all"&gt;http://aspalliance.com/895&lt;em&gt;Understanding_the_JavaScript___doPostBack_Function.all&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 05 Jun 2012 06:20:35 UTC</pubDate>
      <guid>https://snipplr.com/view/65396/stop-enter-key-default-submit-method--replace-with-specified-method</guid>
    </item>
  </channel>
</rss>
