<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Kasutliidesed_lab_2_otsingu_html</id>
	<title>Kasutliidesed lab 2 otsingu html - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Kasutliidesed_lab_2_otsingu_html"/>
	<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Kasutliidesed_lab_2_otsingu_html&amp;action=history"/>
	<updated>2026-10-29T00:07:14Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Kasutliidesed_lab_2_otsingu_html&amp;diff=8003&amp;oldid=prev</id>
		<title>Tammet – 27. märts 2007, kell 09:30</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Kasutliidesed_lab_2_otsingu_html&amp;diff=8003&amp;oldid=prev"/>
		<updated>2007-03-27T09:30:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;et&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Vanem redaktsioon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Redaktsioon: 27. märts 2007, kell 11:30&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot;&gt;42. rida:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;42. rida:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   url = &quot;http://193.40.254.12/cgi-bin/tammet/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;otsijson&lt;/del&gt;.py?laadija=&quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   url = &quot;http://193.40.254.12/cgi-bin/tammet/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;otsi&lt;/ins&gt;.py?laadija=&quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   url=url+document.getElementById(&amp;#039;laadija&amp;#039;).value&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   url=url+document.getElementById(&amp;#039;laadija&amp;#039;).value&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   request.open(&amp;quot;GET&amp;quot;, url, true);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   request.open(&amp;quot;GET&amp;quot;, url, true);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key lambdadb:diff:1.41:old-1571:rev-8003:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Tammet</name></author>
	</entry>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Kasutliidesed_lab_2_otsingu_html&amp;diff=1571&amp;oldid=prev</id>
		<title>Tammet – 26. märts 2007, kell 22:53</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Kasutliidesed_lab_2_otsingu_html&amp;diff=1571&amp;oldid=prev"/>
		<updated>2007-03-26T22:53:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
var request;&lt;br /&gt;
var url;&lt;br /&gt;
var response;&lt;br /&gt;
var eresp;&lt;br /&gt;
&lt;br /&gt;
function myupdatefun() {&lt;br /&gt;
  //alert(request.readyState)&lt;br /&gt;
  if (request.readyState == 4) {   &lt;br /&gt;
       //alert(&amp;quot;Server is done!&amp;quot;); &lt;br /&gt;
       if (request.status == 200) {&lt;br /&gt;
          //alert(&amp;quot;Server sent data ok!&amp;quot;);       &lt;br /&gt;
          response = request.responseText&lt;br /&gt;
          //alert(response)&lt;br /&gt;
          eresp=eval(response)&lt;br /&gt;
          compres=&amp;quot;&amp;lt;table&amp;gt;\n&amp;quot;&lt;br /&gt;
          for (i=0; i&amp;lt;eresp.length; i++) {&lt;br /&gt;
            //alert(eresp[i])&lt;br /&gt;
            compres=compres+&amp;quot;&amp;lt;tr&amp;gt;\n&amp;quot;&lt;br /&gt;
            for (j=0; j&amp;lt;(eresp[i]).length; j++) {&lt;br /&gt;
              //alert(eresp[i][j])&lt;br /&gt;
              compres=compres+&amp;quot;&amp;lt;td&amp;gt;&amp;quot;+eresp[i][j]+&amp;quot;&amp;lt;/td&amp;gt;&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
            compres=compres+&amp;quot;&amp;lt;/tr&amp;gt;\n&amp;quot;&lt;br /&gt;
          }&lt;br /&gt;
          compres=compres+&amp;quot;&amp;lt;/table&amp;gt;&amp;quot;&lt;br /&gt;
          //alert(compres);&lt;br /&gt;
          document.getElementById(&amp;#039;sisu2&amp;#039;).innerHTML=compres;&lt;br /&gt;
       } else if (request.status == 404)&lt;br /&gt;
         alert(&amp;quot;Request URL does not exist&amp;quot;);&lt;br /&gt;
       else&lt;br /&gt;
         alert(&amp;quot;Error: status code is &amp;quot; + request.status);   &lt;br /&gt;
  }       &lt;br /&gt;
         &lt;br /&gt;
}  &lt;br /&gt;
&lt;br /&gt;
function ajaxcall() {&lt;br /&gt;
  request = new XMLHttpRequest();&lt;br /&gt;
  //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;br /&gt;
 //url = &amp;quot;http://www.mysite.com&amp;quot;&lt;br /&gt;
  url = &amp;quot;http://193.40.254.12/cgi-bin/tammet/otsijson.py?laadija=&amp;quot;&lt;br /&gt;
  url=url+document.getElementById(&amp;#039;laadija&amp;#039;).value&lt;br /&gt;
  request.open(&amp;quot;GET&amp;quot;, url, true);&lt;br /&gt;
  request.onreadystatechange = myupdatefun;&lt;br /&gt;
  request.send(null);&lt;br /&gt;
}  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
Tere kah!&lt;br /&gt;
&lt;br /&gt;
Otsivorm:&lt;br /&gt;
&amp;lt;form&amp;gt;&lt;br /&gt;
laadija: &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;laadija&amp;quot; id=&amp;quot;laadija&amp;quot;&amp;gt;&amp;lt;/input&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;otsi!&amp;quot; onclick=&amp;quot;ajaxcall()&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;sisu2&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tammet</name></author>
	</entry>
</feed>