Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Novice Seeks He...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 35537 of 36205
Post > Topic >>

Novice Seeks Help

by "eBob.com" <eBob.com@[EMAIL PROTECTED] > May 9, 2008 at 03:41 AM

I am trying to understand a bit of JavaScript from 
http://developer.yahoo.com/maps/simple/jspost.html
 (appended below).  I'd

appreciate help understanding two things it.  The first is the following:
<script  type="text/javascript">
createForms();
</script>
I don't understand the "createForms()".   I know it must be JavaScript but
I 
have looked in the index of several references and do not find any such 
entry in their indices.  My online searches got a few hits but nothing 
helpful.  Where can I find some online doc for createForms()?  It seems to

create a button labeled "View on Y! Maps" but where does that text (i.e. 
"View on Y! Maps") come from?

The HTML also contains the following JavaScript:
document.write("<scr"+"ipt 
language=javascript 
src=http://l.yimg.com/us.js.yimg.com/lib/bc/bc_2.0.4.js></scr"+"ipt>");.

Why is the concatenation operator, +,  being used here?  To my naive mind
it 
seems to be unnecessary.

I'll appreciate any help anyone can offer.  Thanks,  Bob


JavaScript from http://developer.yahoo.com/maps/simple/jspost.html
...
<html>
<head>


</head>
<body>
<script  type="text/javascript" src="jspost.js"></script>
<h2>Java script POST sample</h2>
<p>Clicking this Button executes a POST request (Sorry, does not work in 
IE)</p>
<p>In this sample the RSS feed is hardcoded. To make this sample into a
cool 
application, dynamically generate a feed.</p>
<script  type="text/javascript">
createForms();
</script>

</body>
</html>
<!-- spaceId: 792400132 -->
<!-- VER-58 -->
<script language=javascript>
if(window.yzq_p==null)document.write("<scr"+"ipt language=javascript 
src=http://l.yimg.com/us.js.yimg.com/lib/bc/bc_2.0.4.js></scr"+"ipt>");
</script><script language=javascript>
if(window.yzq_p)yzq_p('P=Ri5IOtFJuhuNCf_2Qp5bhM6XRXl91EgegosABGIP&T=13tvhfkhm%2fX%3d1209959051%2fE%3d792400132%2fR%3ddev_net%2fK%3d5%2fV%3d1.1%2fW%3dJ%2fY%3dYAHOO%2fF%3d1430890299%2fS%3d1%2fJ%3dCCBB49D1');
if(window.yzq_s)yzq_s();
</script><noscript><img width=1 height=1 alt="" 
src="http://us.bc.yahoo.com/b?P=Ri5IOtFJuhuNCf_2Qp5bhM6XRXl91EgegosABGIP&T=142luogtl%2fX%3d1209959051%2fE%3d792400132%2fR%3ddev_net%2fK%3d5%2fV%3d3.1%2fW%3dJ%2fY%3dYAHOO%2fF%3d3881337183%2fQ%3d-1%2fS%3d1%2fJ%3dCCBB49D1"></noscript>
<!-- com3.devnet.re3.yahoo.com compressed/chunked Sun May  4 20:44:11 PDT 
2008 -->
 




 5 Posts in Topic:
Novice Seeks Help
"eBob.com" <  2008-05-09 03:41:22 
Re: Novice Seeks Help
"Tom de Neef" &  2008-05-09 08:50:41 
Re: Novice Seeks Help
RobG <rgqld@[EMAIL PRO  2008-05-09 00:00:07 
Re: Novice Seeks Help
"Richard Cornford&qu  2008-05-09 08:33:58 
Re: Novice Seeks Help - THANKS! to the several responders; you g
"eBob.com" <  2008-05-09 13:47:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 7:18:33 CDT 2008.