﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebInput - The value of WebInput be changed after the javascript function "onclick" be added </title><link>http://www.intersoftsolutions.com/Community/WebInput/The-value-of-WebInput-be-changed-after-the-javascript-function-onclick-be-added/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>The value of WebInput be changed after the javascript function "onclick" be added </title><link>http://www.intersoftsolutions.com/Community/WebInput/The-value-of-WebInput-be-changed-after-the-javascript-function-onclick-be-added/</link><pubDate>Wed, 23 Jan 2013 06:45:23 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your sample.&lt;br&gt;&lt;/br&gt;I have review on your sample and I can reproduce your issue on my end as well.&lt;/p&gt;
&lt;p&gt;It seems the issue appear due to you use incorrect javascript code to set value. Please try to modify your javascript code from:&lt;/p&gt;&lt;pre&gt;function setValue() {
            var v_price = ISGetObject("wi_price");
            v_price.SetValueData(123.00, true);
}&lt;/pre&gt;
&lt;p&gt;To:&lt;/p&gt;&lt;pre&gt;function setValue() {
            var v_price = ISGetObject("wi_price");
            v_price.SetValueData("123");
}
&lt;/pre&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt;&lt;/br&gt;Hans.&lt;/p&gt;</description></item><item><title>The value of WebInput be changed after the javascript function "onclick" be added </title><link>http://www.intersoftsolutions.com/Community/WebInput/The-value-of-WebInput-be-changed-after-the-javascript-function-onclick-be-added/</link><pubDate>Tue, 22 Jan 2013 21:52:23 GMT</pubDate><dc:creator>x-rookie</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;    The scene is: &lt;/p&gt;
&lt;p&gt;1. There are some button and a webinput in my aspx file.&lt;/p&gt;
&lt;p&gt;2. click the button (button name:Set Value) ,then we will find the number "123" in webinput&lt;/p&gt;
&lt;p&gt;3. click the button (button name:Show Value), the label's value is 0  but not "123".&lt;/p&gt;
&lt;p&gt;4. the webinput version is 3.0.7200.216&lt;/p&gt;
&lt;p&gt;5. Even i add " onclick="return doCheck();" " on client, it's still 0&lt;/p&gt;
&lt;p&gt;6. Even on the trial verson4.0 , the label's value is still 0&lt;/p&gt;
&lt;p&gt;7. Only when i input a number in webinput directly, the it works well.&lt;/p&gt;
&lt;p&gt;8.&amp;lt;DisplayFormat ErrorText="" Format="c" IsEnabled="True" Type="Number"&amp;gt;&lt;br /&gt;                &amp;lt;ErrorWindowInfo IsEnabled="True"&amp;gt;&lt;br /&gt;                &amp;lt;/ErrorWindowInfo&amp;gt;&lt;br /&gt;            &amp;lt;/DisplayFormat&amp;gt;  when i set isEnabled="False" on version4.0 it works well,but not works well on v3.0.7200&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;you can know the detail by attach file. Thank you very much!&lt;/p&gt;</description></item></channel></rss>