Google Groups Home Help | Sign in
Message from discussion Novice Seeks Help
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
eBob.com  
View profile
 More options May 8, 11:41 pm
Newsgroups: comp.lang.javascript
From: "eBob.com" <eBob....@totallybogus.com>
Date: Fri, 09 May 2008 03:41:22 GMT
Local: Thurs, May 8 2008 11:41 pm
Subject: Novice Seeks Help
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=13tvhfk hm%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..."></noscript>
<!-- com3.devnet.re3.yahoo.com compressed/chunked Sun May  4 20:44:11 PDT
2008 -->


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google