<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: New Impromptu, 2.5</title> <atom:link href="http://trentrichardson.com/2009/03/30/new-impromptu-25/feed/" rel="self" type="application/rss+xml" /><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/</link> <description>practical web design &#38; development</description> <lastBuildDate>Fri, 18 May 2012 18:53:09 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: kurt</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-2/#comment-17164</link> <dc:creator>kurt</dc:creator> <pubDate>Wed, 14 Jul 2010 16:04:01 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-17164</guid> <description>Hey everybody, i have a problem with the function updatetips.
It&#039;s for a contact form but when i charge the page, the messages arn&#039;t here, and it say &quot;tips is not defined&quot; ???but how to do ???
function updateTips(t) {
tips.text(t).effect(&quot;highlight&quot;,{},1500);
}
function checkLength(o,n,min,max) {
if ( o.val().length &gt; max &#124;&#124; o.val().length &lt; min ) {
o.addClass(&#039;ui-state-error&#039;);
updateTips(&quot;Length of &quot; + n + &quot; must be between &quot;+min+&quot; and  &quot;+max+&quot;.&quot;);
return false;
} else {
return true;
}}function checkPresence(o,size) {
if ( o.val().length &lt; size ) {
o.addClass(&#039;ui-state-error&#039;);
updateTips(&quot;must be filled up&quot;);
return false;
} else {
return true;
}}think you so much</description> <content:encoded><![CDATA[<p>Hey everybody, i have a problem with the function updatetips.<br
/> It&#8217;s for a contact form but when i charge the page, the messages arn&#8217;t here, and it say &#8220;tips is not defined&#8221; ???</p><p>but how to do ???</p><p> function updateTips(t) {<br
/> tips.text(t).effect(&#8220;highlight&#8221;,{},1500);</p><p> }</p><p> function checkLength(o,n,min,max) {<br
/> if ( o.val().length &gt; max || o.val().length &lt; min ) {<br
/> o.addClass(&#039;ui-state-error&#039;);<br
/> updateTips(&quot;Length of &quot; + n + &quot; must be between &quot;+min+&quot; and  &quot;+max+&quot;.&quot;);<br
/> return false;<br
/> } else {<br
/> return true;<br
/> }</p><p> }</p><p>function checkPresence(o,size) {<br
/> if ( o.val().length &lt; size ) {<br
/> o.addClass(&#039;ui-state-error&#039;);<br
/> updateTips(&quot;must be filled up&quot;);<br
/> return false;<br
/> } else {<br
/> return true;<br
/> }</p><p> }</p><p>think you so much</p> ]]></content:encoded> </item> <item><title>By: priti</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-2/#comment-15874</link> <dc:creator>priti</dc:creator> <pubDate>Mon, 01 Mar 2010 17:48:36 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15874</guid> <description>I was able to  resolve the issue.Thanks so much for your help. Also impromptu is a  wonderful script.</description> <content:encoded><![CDATA[<p>I was able to  resolve the issue.Thanks so much for your help. Also impromptu is a  wonderful script.</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-2/#comment-15461</link> <dc:creator>trent</dc:creator> <pubDate>Fri, 26 Feb 2010 03:08:41 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15461</guid> <description>try to alert($(&#039;#datepicker&#039;).length()) after the prompt and see if jquery is finding it.  By the comment left above loooks like you might have an orphan &quot;type&quot;, then another type=&quot;text&quot;</description> <content:encoded><![CDATA[<p>try to alert($(&#8216;#datepicker&#8217;).length()) after the prompt and see if jquery is finding it.  By the comment left above loooks like you might have an orphan &#8220;type&#8221;, then another type=&#8221;text&#8221;</p> ]]></content:encoded> </item> <item><title>By: priti</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-2/#comment-15418</link> <dc:creator>priti</dc:creator> <pubDate>Fri, 26 Feb 2010 00:27:45 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15418</guid> <description>Sorry for posting again the var txt string is not displaying as expected !!,I have defined txt var with input type &#039;id=&quot;datepicker&quot; name=&quot;date_picker&quot; type=&quot;text&quot;&#039; and then when i am completing the prompt statement I am adding$(‘#datepicker’).datepicker()But it is not adding the date picker in the prompt box !! . There are no errors even !! .. any idea how to resolve this?</description> <content:encoded><![CDATA[<p>Sorry for posting again the var txt string is not displaying as expected !!,</p><p>I have defined txt var with input type &#8216;id=&#8221;datepicker&#8221; name=&#8221;date_picker&#8221; type=&#8221;text&#8221;&#8216; and then when i am completing the prompt statement I am adding</p><p>$(‘#datepicker’).datepicker()</p><p>But it is not adding the date picker in the prompt box !! . There are no errors even !! .. any idea how to resolve this?</p> ]]></content:encoded> </item> <item><title>By: priti</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-15407</link> <dc:creator>priti</dc:creator> <pubDate>Thu, 25 Feb 2010 23:49:58 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15407</guid> <description>&#039;var txt = &#039;Start Time: End Time:&#039;;&#039;</description> <content:encoded><![CDATA[<p>&#8216;var txt = &#8216;Start Time: End Time:&#8217;;&#8217;</p> ]]></content:encoded> </item> <item><title>By: priti</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-15405</link> <dc:creator>priti</dc:creator> <pubDate>Thu, 25 Feb 2010 23:47:59 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15405</guid> <description>Hi trent,Glad you replied !!Following is the code;var txt = &#039;Start Time: End Time:&#039;;$(&#039;#datepicker&#039;).datepicker()Is this right ?? or I am missing something !!</description> <content:encoded><![CDATA[<p>Hi trent,</p><p>Glad you replied !!</p><p>Following is the code;</p><p>var txt = &#8216;Start Time: End Time:&#8217;;</p><p>$(&#8216;#datepicker&#8217;).datepicker()</p><p>Is this right ?? or I am missing something !!</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-15389</link> <dc:creator>trent</dc:creator> <pubDate>Thu, 25 Feb 2010 23:09:00 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15389</guid> <description>Hey Priti,Adding a date picker should be pretty simple.  Just add your date picker right after calling $.prompt()...$.prompt(&#039;..&#039;);
$(&#039;#myelement&#039;).datepicker();</description> <content:encoded><![CDATA[<p>Hey Priti,</p><p>Adding a date picker should be pretty simple.  Just add your date picker right after calling $.prompt()&#8230;</p><p>$.prompt(&#8216;..&#8217;);<br
/> $(&#8216;#myelement&#8217;).datepicker();</p> ]]></content:encoded> </item> <item><title>By: priti</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-15384</link> <dc:creator>priti</dc:creator> <pubDate>Thu, 25 Feb 2010 22:50:35 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-15384</guid> <description>Hi,Any one with a simple example to add date picker in prompt txt ?? I tried above but no luck as of now !!Thanks</description> <content:encoded><![CDATA[<p>Hi,</p><p>Any one with a simple example to add date picker in prompt txt ?? I tried above but no luck as of now !!</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: trent</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-14344</link> <dc:creator>trent</dc:creator> <pubDate>Mon, 11 Jan 2010 13:02:56 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-14344</guid> <description>Hey sihem,Not sure I completely understand your question.  I do notice &quot;calculate&quot; is spelled differently in your code.</description> <content:encoded><![CDATA[<p>Hey sihem,</p><p>Not sure I completely understand your question.  I do notice &#8220;calculate&#8221; is spelled differently in your code.</p> ]]></content:encoded> </item> <item><title>By: sihem</title><link>http://trentrichardson.com/2009/03/30/new-impromptu-25/comment-page-1/#comment-14318</link> <dc:creator>sihem</dc:creator> <pubDate>Sat, 09 Jan 2010 06:36:15 +0000</pubDate> <guid
isPermaLink="false">http://trentrichardson.com/?p=304#comment-14318</guid> <description>hi ,it is very good postcan you help me please
i try to show prompt with two state
i try to add to the second state overflow because the text inside is too long and I need it.
this is codevar statesdemo = {
state0: {html:&#039;bbbbbbbbbbbbbbb&#039;,
buttons: { Cancel: false, Next: true },
focus: 1,
submit:function(v,m,f){ calcule1();
if(!v) return true;
else
$.prompt.goToState(&#039;state1&#039;);
return false;
}
},
state1: {
html:&#039;&#039;,
buttons: { Back: -1, Exit: 0 },
focus: 1,
submit:function(v,m,f){
if(v==0) $.prompt.close()
else if(v=-1)
$.prompt.goToState(&#039;state0&#039;);
return false;
}
}
};$.prompt(statesdemo);the result of calulate(); is too long and is affected to id=ss(second state)Thank you.............</description> <content:encoded><![CDATA[<p>hi ,it is very good post</p><p>can you help me please<br
/> i try to show prompt with two state<br
/> i try to add to the second state overflow because the text inside is too long and I need it.<br
/> this is code</p><p> var statesdemo = {<br
/> state0: {html:&#8217;bbbbbbbbbbbbbbb&#8217;,<br
/> buttons: { Cancel: false, Next: true },<br
/> focus: 1,<br
/> submit:function(v,m,f){ calcule1();<br
/> if(!v) return true;<br
/> else<br
/> $.prompt.goToState(&#8216;state1&#8242;);<br
/> return false;<br
/> }<br
/> },<br
/> state1: {<br
/> html:&#8221;,<br
/> buttons: { Back: -1, Exit: 0 },<br
/> focus: 1,<br
/> submit:function(v,m,f){<br
/> if(v==0) $.prompt.close()<br
/> else if(v=-1)<br
/> $.prompt.goToState(&#8216;state0&#8242;);<br
/> return false;<br
/> }<br
/> }<br
/> };</p><p>$.prompt(statesdemo);</p><p>the result of calulate(); is too long and is affected to id=ss(second state)</p><p>Thank you&#8230;&#8230;&#8230;&#8230;.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/16 queries in 0.049 seconds using disk: basic
Object Caching 350/350 objects using disk: basic

Served from: trentrichardson.com @ 2012-05-21 03:55:24 -->
