Hi , gadgets.io.makeRequest(url, response, params); this method working prefectly fine in my sandbox. While others it is not working. I have requested to my friend to add this gadget. But submitting the form is not working for them. Any body can suggest what will be the problem behind this? It will be great help if anybody can help to sort out this issue. Server side I am using ASP to process the post data.The following link is my google gadget URL.
http://hosting.gmodules.com/ig/gadgets/file/105465272508980562232/free_classifiedpost15.xml <?xml version="1.0" encoding="UTF-8" ?> - <Module> - <ModulePrefs title="Post free classifieds in yellowpages" width="220" height="280" description="With Yellowpagesindia.info, You can post your requirements.your requirements are directly mailed to the members of the category choosen by you. The companies listed in yellowpagesindia.info will contact you.Please provide exact contact details." author="SyamRanjith" author_email="[EMAIL PROTECTED]" author_location="India" title_url="http:www.yellowpagesindia.info" screenshot="http://www.yellowpagesindia.info/images/clsscrshot.jpg" thumbnail="http://www.yellowpagesindia.info/images/clstmbnail.jpg"> <Require feature="analytics" /> <Require feature="dynamic-height" /> <Require feature="opensocial-0.7" /> </ModulePrefs> <UserPref name="rname" display_name="Name" default_value="" required="true" /> <UserPref name="rmbno" display_name="Mobile Number" default_value="" required="true" /> <UserPref name="rphno" display_name="Contact Number" default_value="" required="true" /> <UserPref name="remail" display_name="Email Address" default_value="" required="true" /> - <Content type="html"> - <![CDATA[ <style> #content_div { font-size: 80%; margin: 5px; background-color: #FFFFBF;color:red;} .mtext{color:#666666;font-size:12px;} .textred{color=#D64700;font-size:9px} </style> <script type="text/javascript"> var prefs = new gadgets.Prefs(); var rname = prefs.getString("rname"); var rmbno = prefs.getString("rmbno"); var rphno = prefs.getString("rphno"); var remail = prefs.getString("remail"); var html=""; function chkRequirement(trade){ var sreq=trade.req.value; if (trade.req.value=="" ) { html="Please specify Your requirements"; } else if (rname=="") { html="Please specify Your Name";} else if (remail=="") { html="Enter Your Email Address"; } else if((remail).indexOf("@")==-1) { html="Enter a valid Email Address"; }else if((remail).indexOf(".")==-1) { html="Enter a valid Email Address"; } else { var cat=trade.rcat.options[trade.rcat.selectedIndex].text; var data = {treq:sreq,tname:rname,temail:remail,tcat:cat}; makePOSTRequest("http://www.yellowpagesindia.info/ traderegisterGD.asp",data); trade.req.value=""; html="Posted Successfully , Your requirement will appear in www.yellowpagesindia.info once it is approved."; } document.getElementById('content_div').innerHTML = html; gadgets.window.adjustHeight(); } function makePOSTRequest(url, postdata) { var params = {}; postdata = gadgets.io.encodeValues(postdata); params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; params[gadgets.io.RequestParameters.POST_DATA]= postdata; gadgets.io.makeRequest(url, response, params); }; function response(obj) { output(obj.text); }; </script> <form name ="trade" method="post"> <table cellSpacing="1" cellPadding="1" width="100%" align="center" border="0" class="mtext"> <tr><td align="center"><a href="http://www.yellowpagesindia.info/" target="_new"><img src=http://www.yellowpagesindia.info/images/ logosmall.jpg border="0" alt="Yellowpages" /></a></td></tr> <tr><td> <div id="content_div"></div> </td></tr> <tr><td>Enter Your classified <label class="textred">*</label></td></ tr> <tr><td><textarea name="req" rows="4" cols="20"></textarea></td></tr> <tr><td>Choose a Category<label class="textred">*</label></td></tr> <tr><td><select size="1" name="rcat"><option>Abrasives</ option><option>Agarbatti</option><option>Agricultural</ option><option>Air Conditioning</option><option>Aluminium</ option><option>Aluminium Foils</option><option>Apartments</ option><option>Artist</option><option>Ayurvedic</ option><option>Automobile Parts</option><option>Barrels</ option><option>Bicycle</option><option>Boilers</option><option>Books</ option><option>Bottles</option><option>Boxes</option><option>Builders</ option><option>Building Materials</option><option>Cables</ option><option>Cattle Feed</option><option>Chemicals</ option><option>Children Wear</option><option>Clock Parts</ option><option>Clothing</option><option>Computer Related</ option><option>Confectionery</option><option>Construction</ option><option>Consultancy</option><option>Cosmetics</ option><option>Cotton</option><option>Cotton Beachwear</ option><option>Cotton Knitted Grmt</option><option>Courier</ option><option>Denim/ Cotton Fabrics</option><option>Dental</ option><option>Diamond</option><option>Diamond Jewellers</ option><option>Diamond Tools</option><option>Doctors</ option><option>Drapes</option><option>Earth Moving Eqpt</ option><option>Electrical Eqpt</option><option>Electronic</ option><option>Engineering</option><option>EPS Disposable Contr.</ option><option>Exhibitions</option><option>Export Packaging</ option><option>Fabrics</option><option>Finance</option><option>Fishing Eqpt</option><option>Flame Proof Eqpt</option><option>Foam Products</ option><option>Food</option><option>Forgings</option><option>Freight Forwarders</option><option>FRP Products</option><option>Furnishing</ option><option>Furnishing Fabrics</option><option>Furniture</ option><option>Garment</option><option>Garment Accessories</ option><option>Gas</option><option>Gems</option><option>Gift Items</ option><option>Grain</option><option>Greeting Cards</ option><option>Gums</option><option>Handicraft</ option><option>Handloom Products</option><option>HDPE Wooven Bags</ option><option>Holiday Resort</option><option>Hospital Eqpt</ option><option>Hotels</option><option>Houses</option><option>Indenting Agents</option><option>Industrial Eqpt</option><option>Jewellery</ option><option>Jewellery Tools</option><option>Kitchenware</ option><option>Laboratory Eqpt</option><option>Leather</ option><option>Leather Shoes</option><option>Liasion Agents</ option><option>Lighting Eqpts</option><option>Machinery</ option><option>Magnets</option><option>Mass Mailing</ option><option>Medical Eqpt</option><option>Medicines</ option><option>Metals-Non Ferrous</option><option>Mfrs. Agents</ option><option>Nylon Beachwear</option><option>Off Shore</ option><option>Office Eqpts</option><option>Ophthalmic Eqpt</ option><option>Orthopaedic</option><option>Others</ option><option>Packaging</option><option>Paints</option><option>Paper</ option><option>Perfume</option><option>Pharmaceutical</ option><option>Photographic</option><option>Plastic</ option><option>Plywood</option><option>Printed Poly Bag</ option><option>Printing</option><option>Printing Offset</ option><option>Publishers</option><option>Radiators</ option><option>Real Estate</option><option>Recruitment</ option><option>Refrigeration</option><option>Rubber</ option><option>Rubber Products</option><option>Safety Equipments</ option><option>Sales Promote</option><option>Sanitary ware</ option><option>Scarves/ Shawls</option><option>Services</ option><option>Ship Repair</option><option>Shipping/ Allied</ option><option>Shoes</option><option>Silicon Carbide</ option><option>Silk</option><option>Soaps</option><option>Software</ option><option>Stationery</option><option>Steel</ option><option>Surgical Inst</option><option>Sweets</ option><option>Terry Towels</option><option>Textile</ option><option>Tile</option><option>Timber</option><option>Tools</ option><option>Towels</option><option>Transport</ option><option>Travel</option><option>Umbrella</ option><option>Utensils</option><option>Vehicles</ option><option>Warehousing</option><option>Watch Clocks</ option><option>Water Pumps</option><option>Wax Candles</ option><option>Weldings</option><option>Wire Meshes</ option><option>Wood Products</option><option>Woollen</ option><option>Workwear</option><option>Writing Inst</ option><option>Yarns</option></select></td></tr> <tr><td align="center"><input type="button" value="Post Your Query" onclick="chkRequirement(this.form);" /></td></tr> <tr><td align="center"> <script type="text/javascript"><!--google_ad_client = "pub-9469603865969353";/* 234x60, gadget created 11/16/08 */ google_ad_slot = "1313552382";google_ad_width = 234;google_ad_height = 60;//--></script><script type="text/javascript"src="http:// pagead2.googlesyndication.com/pagead/show_ads.js"></script> </td></tr> </table> </form> <!-- form ends--> ]]> </Content> </Module> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
