<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/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>ASP.NET WebForms</title><link>https://www.dotnetzone.gr:443/cs/forums/13/ShowForum.aspx</link><description>Θέματα για web εφαρμογές, σε ASP.NET WebForms</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Σημπλήρωση πεδίου hiddenvalue σε φόρμα μέσω Javascipt</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10861.aspx</link><pubDate>Mon, 20 Mar 2006 19:47:24 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10861</guid><dc:creator>kkara</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10861.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=10861</wfw:commentRss><description>Έχω την εντύπωση ότι ο προτεινόμενος από την w3c τρόπος να πάρεις το κάθε element είναι όντως με την GetByElementId. Επομένως είναι πιθανό ο αρχικός σου τρόπος να έπαιζε σε κάποιους browser και σε κάποιους όχι...</description></item><item><title>Απ: Σημπλήρωση πεδίου hiddenvalue σε φόρμα μέσω Javascipt</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10859.aspx</link><pubDate>Mon, 20 Mar 2006 19:22:24 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10859</guid><dc:creator>dtakis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10859.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=10859</wfw:commentRss><description>Βρήκα τη λύση: &lt;span style="color: Black; background-color: transparent; font-family: Lucida Console; font-size: 11px; font-weight: normal;"&gt;&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Lucida Console; font-size: 11px; font-weight: normal;"&gt;document.GetByElementId('test').value=1&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;και παίζει!&lt;br&gt;&lt;br&gt;&lt;img src="/cs/emoticons/emotion-5.gif" alt="Wink [;)]" /&gt;Μάλλον λόγω των άλλων tags που παρεμβάλονται δεν παίζει η πρώτη περίπτωση!&lt;br&gt;&lt;/b&gt;&lt;span style="color: Black; background-color: transparent; font-family: Lucida Console; font-size: 11px; font-weight: normal;"&gt;&lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Lucida Console; font-size: 11px; font-weight: normal;"&gt;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Σημπλήρωση πεδίου hiddenvalue σε φόρμα μέσω Javascipt</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/10777.aspx</link><pubDate>Sat, 18 Mar 2006 02:50:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:10777</guid><dc:creator>dtakis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/10777.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=10777</wfw:commentRss><description>Γεια σε όλους!&lt;br&gt;&lt;br&gt;Θέλω να κάνω τον χρήστη να συμπληρώνει μια φόρμα πατώντας σχεδιάκια με το ποντίκι σε μια σελίδα! Έτσι έχω:&lt;br&gt;&lt;br&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;ul&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;a&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;id&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="tab01"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;href&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="#"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;onClick&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="document.reservForm.test.value=1"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;onmouseover&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="MM_swapImage('tablePic','','images/table_photo_01.jpg',1);MM_setTextOfLayer('tableInfo','','Table no. 1&amp;lt;strong&amp;gt;Not Available&amp;lt;/strong&amp;gt;')"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;onmouseout&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="MM_swapImgRestore();"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;li&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;ul&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
και τη φόρμα όπου:
&lt;br&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;form&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;name&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="reservForm"&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&lt;/span&gt; ...&amp;gt;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;input&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;name&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="test"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;type&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="hidden"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;id&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;="test"&lt;/span&gt; &lt;span style="color: Red;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;value&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;=""&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: Maroon;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;form&lt;/span&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Με το &lt;span style="color: Black;background-color: Transparent;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;onClick=&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Lucida Console;font-size: 11px;font-weight: normal;"&gt;"document.reservForm.test.value=1"&lt;/span&gt;&lt;/span&gt; θέλω να περάσω την τιμή 1 στο κρυφό πεδίο ...&lt;br&gt;&lt;br&gt;αλλά παρατηρώ ότι παίρνω errors του στυλ test είναι null κτλ!&lt;br&gt;&lt;br&gt;Τι προτείνετε και τι λάθος βλέπετε;&lt;br&gt;&lt;br&gt;Ευχαριστώ &lt;br&gt;Καλό ΣΚ &lt;img src="/cs/emoticons/emotion-11.gif" alt="Cool [H]" /&gt;&lt;br&gt;</description></item></channel></rss>