<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; JavaScript: заполнение web форм]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5193</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5193&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «JavaScript: заполнение web форм».]]></description>
		<lastBuildDate>Sat, 20 Nov 2010 17:46:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42010#p42010</link>
			<description><![CDATA[<p>Умельцы точно есть, и не один.</p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Sat, 20 Nov 2010 17:46:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42010#p42010</guid>
		</item>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42009#p42009</link>
			<description><![CDATA[<p>Спасибо <strong>alexii</strong>, ключевое слово было &quot;коллекция&quot;<br /><strong>jite</strong>, умельцы думаю и у нас есть, в любом случае за ссылку спасибо</p><p>Вот так работает<br /></p><div class="codebox"><pre><code>javascript:elem = document.getElementsByName(&quot;username&quot;);elem[0].value=&quot;Мой_ник&quot;;void(0)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sat, 20 Nov 2010 17:40:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42009#p42009</guid>
		</item>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42008#p42008</link>
			<description><![CDATA[<p>Насколько понимаю, специфика данного форума не совсем javascript (<a href="http://forum.script-coding.com/index.php">список местных языков</a>). <br />Вероятно логичней задавать вопрос на <a href="http://javascript.ru/forum/">javascript.ru</a>.</p>]]></description>
			<author><![CDATA[null@example.com (jite)]]></author>
			<pubDate>Sat, 20 Nov 2010 17:02:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42008#p42008</guid>
		</item>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42006#p42006</link>
			<description><![CDATA[<p>Не группу, а коллекцию (даже если в коллекции — один элемент). Как работать с коллекциями в JScript — вопрос уже не ко мне.</p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Sat, 20 Nov 2010 16:41:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42006#p42006</guid>
		</item>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42005#p42005</link>
			<description><![CDATA[<p>Я читал, что getElementById возвращает один элемент, а getElementsByName группу. Как мне достичь желаемого? Как заполнить форму, если ей не присвоен ID?</p>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sat, 20 Nov 2010 16:39:06 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42005#p42005</guid>
		</item>
		<item>
			<title><![CDATA[Re: JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=42004#p42004</link>
			<description><![CDATA[<p>JScript тут не при чём.<br /></p><div class="quotebox"><cite>getElementById Method пишет:</cite><blockquote><p><strong>Return Value</strong><br />Returns <strong><span style="color: orange">the first object</span></strong> with the same ID attribute as the specified value.</p></blockquote></div><div class="quotebox"><cite>getElementsByName Method пишет:</cite><blockquote><p><strong>Return Value</strong><br />Returns <strong><span style="color: orange">a collection of objects</span></strong> with the same NAME attribute value.</p></blockquote></div><p>Разницу выделил.</p>]]></description>
			<author><![CDATA[null@example.com (alexii)]]></author>
			<pubDate>Sat, 20 Nov 2010 16:15:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=42004#p42004</guid>
		</item>
		<item>
			<title><![CDATA[JavaScript: заполнение web форм]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=41997#p41997</link>
			<description><![CDATA[<p>Использую заполнение форм для странички одной игры.</p><p>Раньше элемент имел следующие параметры<br />(определял при помощи дополнения к Firefox WebDeveloper)<br /></p><div class="codebox"><pre><code>type=text
value=
id=name
class=input</code></pre></div><p>Я использовал следующий код (ввод через адресную строку) для заполнения данной формы<br /></p><div class="codebox"><pre><code>javascript:document.getElementById(&quot;name&quot;).value=&quot;Мой_Ник&quot;;void(0)</code></pre></div><p>Сейчас страничку обновили, сменились параметры формы<br /></p><div class="codebox"><pre><code>type=text
value=
name=username
class=loginUsername</code></pre></div><p>Пытался использовать такой код, но не помогло<br /></p><div class="codebox"><pre><code>javascript:document.getElementsByName(&quot;username&quot;).value=&quot;Мой_Ник&quot;;void(0)</code></pre></div><p>В Js не силен. Помогите.</p>]]></description>
			<author><![CDATA[null@example.com (InFlames)]]></author>
			<pubDate>Sat, 20 Nov 2010 13:44:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=41997#p41997</guid>
		</item>
	</channel>
</rss>
