JavaScript - Ignore... Topic Moved By Topic Starter.
Moved to a diff board by topic started...
Similar TutorialsI am new to Javascript and Jquery and am currently redesigning a website for a local television station in Alaska. I have been looking around at a lot of major networks websites for some inspiration and came across something that I really like and would like to do something similar but am not really sure where to start. At www.usanetwork.com under schedule, I love the way its put together for the station programming. This is something I would really like to emulate and incorporate into the station that I am working for. I don't really want it in the menu like they have it but a link to a page that could show that same structure. Anyone got any suggestions or can help point me in the right direction? is there anyway to set my code in javascript to ignore errors I have an error that comes up on ie but everything workes fine and i can't find the source of the error -- can i tell the browser to ignore it? I am trying to read data from excel file and use the same to populate a select menu. If any cells are blank, I want to ignore. But I am unable to do this. The dropdown gets populated with blanks. Following is the peice of code: var excel_cell = excel_file.ActiveSheet.Cells(i,1); alert(excel_cell); if(excel_cell=='undefined') ; else document.forms.form1.Products.add(new Option(excel_cell,excel_cell)); I am unable to check for undefined. How do I handle this ?? is there any smart way to do split, and ignore certain delimiters, like: Code: var s = "don't use ',' as part of data, some other text"; arr = s.split(","); // obviously don't want s to be splitted at ',' except chanhing delimiter ... ? Hi, I'd like to use the jQuery validation plugin as seen on the following example: http://docs.jquery.com/Plugins/validation#Example But it doesn't work properly if I use inline/in-filed labels. Any help is appreciated! Rain Lover I frequent a forum that has a pretty large community. There are a few users there I don't particularly care for. I would like to make a Greasemonkey compatible javascript code that would allow me to completely erase their posts from the page. What I want to happen is that every time Code: <li class="kpost-username"> <a rel="nofollow" title="" href="/index.php/component/kunena/profile/userid-80?Itemid=0" class="kwho-user">Rolepgeek</a> </li> appears it deletes the parent <table class="kmsg"> node. I know that I can find each of those code snippets with Code: document.getElementById('kpost-usernmae') however I am not sure how I would go about defining if it includes Code: <li class="kpost-username"> <a rel="nofollow" title="" href="/index.php/component/kunena/profile/userid-80?Itemid=0" class="kwho-user">Rolepgeek</a> </li> or not, nor am I sure on how to tell the code to delete the parent <table class="kmsg"> node when it does include it. I've been messing around a bit with some code, and I understand the general idea of how it should work, however I do not know the syntax in order to get it to work. Any help would be appreciated. HTML to a full post: Code: <table class="kmsg"> <tbody> <tr> <td class="kprofile-top"> <ul id="kpost-profiletop"> <li class="kpost-smallicons"> <span title="Gender: Unknown" class="kicon-profile kicon-profile-gender-unknown"></span> <a title="Click here to send a private message to this user." href="/index.php/component/uddeim/?task=new&recip=80&Itemid=213"><span alt="Click here to send a private message to this user." class="kicon-profile kicon-profile-pm"></span></a> <br> <div> <span class="kpost-userposts">Posts:334</span> </div> </li> <li class="kpost-personal"> Chaos will consume all... </li> <li class="kpost-avatar"> <a rel="nofollow" title="" href="/index.php/component/kunena/profile/userid-80?Itemid=0" class="kwho-user"><span class="kavatar"><img style="max-width: 72px; max-height: 72px" alt="" src="http://thekingdomsmc.com/media/kunena/avatars/resized/size72/users/avatar80.jpg" class="kavatar vbavnparnxybaoekjwjh"></span></a> </li> <li class="kpost-username"> <a rel="nofollow" title="" href="/index.php/component/kunena/profile/userid-80?Itemid=0" class="kwho-user">Rolepgeek</a> </li> <li class="kpost-userrank"> Merchant </li> <li class="kpost-userrank-img"> <img alt="" src="http://thekingdomsmc.com/components/com_kunena/template/default/images/ranks/rank3.gif"> </li> <li><span class="kicon-button kbuttononline-yes"><span class="online-yes"><span>NOW ONLINE</span></span></span></li> <li class="kpost-karma"> <span class="kmsgkarma"> Karma: -9 <a rel="nofollow" title="" href="/index.php/component/kunena/4-off-topic/karma/userid-80?do=decrease&pid=13229&0409ea1d6b1360d1a0a24ee6206c0bf4=1&Itemid=0"><span title="Smite" border="0" alt="Karma-" class="kkarma-minus"> </span></a> <a rel="nofollow" title="" href="/index.php/component/kunena/4-off-topic/karma/userid-80?do=increase&pid=13229&0409ea1d6b1360d1a0a24ee6206c0bf4=1&Itemid=0"><span title="Applaud" border="0" alt="Karma+" class="kkarma-plus"> </span></a> </span> </li> </ul> </td> </tr> <tr> <td class="kmessage-top"> <div class="kmsgbody"> <div class="kmsgtext"> Yeah. And it would be pointless, seeing as how I won't. </div> </div> <div style="display: none" class="kreply-form" id="kreply13229_form"> <form enctype="multipart/form-data" name="postform" method="post" action="/index.php/component/kunena/post?Itemid=0"> <input type="hidden" value="13229" name="parentid"> <input type="hidden" value="4" name="catid"> <input type="hidden" value="post" name="action"> <input type="hidden" value="1" name="0409ea1d6b1360d1a0a24ee6206c0bf4"> <input type="hidden" value="Shigan" name="authorname"> <input type="text" value=" To all non-bronies." maxlength="50" class="inputbox" size="35" name="subject"><br> <textarea cols="60" rows="6" name="message" class="inputbox"></textarea><br> <input type="checkbox" value="1" name="subscribeMe"> <i>Check this box to be notified of replies to this topic.</i> <br> <input type="submit" title="Click here to submit your message" value="Submit" name="submit" class="kbutton kreply-submit"> <input type="reset" title="Click here to cancel your message" value="Cancel" name="cancel" class="kbutton kreply-cancel"> <small>Note: BBcode and smileys are still usable.</small> </form> </div> </td> </tr> <tr> <td class="kbuttonbar-top"> <div> <div class="kmsgsignature"> With Order, come entropy,<br> With Life, comes death,<br> With Light, comes shadow.<br> <br> <div style="text-align: center">If one does not know Chaos, one does not realize the potential within themselves.</div> </div> </div> <div class="kmessage-editmarkup-cover"> <span class="kmessage-informmarkup"><a rel="nofollow" title="" href="/index.php/component/kunena/4-off-topic/13229-re-to-all-non-bronies/report?Itemid=0">Report to moderator</a></span> </div> <div class="kmessage-buttons-cover"> <div class="kmessage-buttons-row"> <a id="kreply13229" rel="nofollow" title="Quick Reply" href="/index.php/component/kunena/4-off-topic/13229-re-to-all-non-bronies/post?do=reply&Itemid=0" class="kicon-button kbuttoncomm btn-left kqreply"><span class="reply"><span>Quick Reply</span></span></a> <a rel="nofollow" title="Reply" href="/index.php/component/kunena/4-off-topic/13229-re-to-all-non-bronies/post?do=reply&Itemid=0" class="kicon-button kbuttoncomm btn-left"><span class="reply"><span>Reply</span></span></a> <a rel="nofollow" title="Quote" href="/index.php/component/kunena/4-off-topic/13229-re-to-all-non-bronies/post?do=quote&Itemid=0" class="kicon-button kbuttoncomm btn-left"><span class="quote"><span>Quote</span></span></a> </div> </div> <div class="kpost-thankyou"> <a rel="nofollow" title="I want to thank you for this message!" href="/index.php/component/kunena/4-off-topic/thankyou?pid=13229&0409ea1d6b1360d1a0a24ee6206c0bf4=1&Itemid=0" class="kicon-button kbuttonuser btn-left"><span class="thankyou"><span>Thank You</span></span></a></div> </td> </tr> </tbody> </table> Hi, Does anyone know how to make a javascript regex ignore new lines? I have this Code: html = html.replace(/<!--(.*?)-->/gi, ''); // HTML comments which matches single line comments like - Code: <!-- this is a comment --> but not this - Code: <!-- This is a comment on multiple lines --> I think the answer lies with [\s\S] but I can't get it to work e.g. - Code: html = html.replace(/<!--(.*[\s\S]?)-->/gi, ''); // HTML comments Any help will be greatly appreciated Cheers Al Hi, I'm trying to write/find a regular expression for finding ampersands but not HTML entites I have this which finds entities but can't figure out how to ignore entities and return unmatched "&" Code: &[^\s]*; Test string: Code: This is sample test containing a bunch of & and entities. Do you shop at: M&S? &x#1234; I want to HTML encode the non-entity ampersands for insertion into XML e.g. "bunch of & and" --> "bunch of & and" Any help will be greatly appreciated Cheers Al moved...
I moved a snippet of my slideshow script to the bottom of the page and the pictures wasn't in a slide anymore, they was in a vertical. I did have three images in the slide, but when that happened I coundnt remember where I got the bit of code from, so I took two images out. This is the whole code for my index.html page. can someone help me please and tell me what bit of code I take from the bottom, and where it goes with the start of its code at the top. This site was build in 2008 so it's not a template or Wordpress. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Specialist Car Valeting Surrey | Mobile Detailing London Empire</title> <!--Meta Tags--> <meta name="keywords" content="Empire Mobile Valeting Services, Car Valeting, Car Valeters, Mobile Detailing, Mobile Car Detailers, Car Care Services, Surrey, Specialist Mobile Valeters, Paint Correction, Supercar Detailing, Car Valeters Surrey, Valeters London, Classic Cars, Car Valeting Services, Car Protection, Glass Coating, Valeting Service, Detailers London, Mobile Valeting, Car, London, Valeting, Detailing, Detailers, Services, Mobile, Specialists " > <meta name="description" content="Empire Mobile Valeting Services Specialist Mobile Car Valeting, Car Detailing Car Valeters are Mobile cover London and Surrey" > <meta name="robots" content="all" > <meta name="revisit-after" content="30 days"> <meta name="author" content="Empire Mobile Valeting Services"> <meta http-equiv="Content-Language" content="en-uk"> <meta name="google-site-verification" content="YtyUZbTKSXgXjOOiGbU7g23KkZFrLLo-tMRK6JZOMa8"> <meta name="msvalidate.01" content="541C618D4A943E7767E5B0D92B7FAE2F"> <meta name="viewport" content="width=device-width"> <link rel="apple-touch-icon" href="/filename.png" > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" > <link href="style.css" rel="stylesheet" type="text/css" > <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-26041196-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //--> </script> <script src='http://fs0.joosee.com/f/js/redirection-mobile.js'></script> <script> SA.redirection_mobile ({ mobile_scheme: 'http', mobile_url : "empiredetailingvaleting1.joosee.com/" }); </script> </head> <body> <body onLoad="MM_preloadImages('images/navov_03.gif','images/navov_04.gif','images/navov_05.gif','images/faq0v.gif')"> <div align="center"> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td valign="top"><img src="http://codingforums.com/images/car_wash_valeting_01.gif" width="1000" height="163" alt="Car Valeting" title="Car Valeting"></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td><img src="http://codingforums.com/images/car_wash_valeting_02.gif" width="500" height="43" alt="Car Valeting Surrey"></td> <td><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/navov_03.gif',1)"><img src="http://codingforums.com/images/car_wash_valeting_03.gif" alt="Mobile Valeting Services" name="Image5" width="115" height="43" border="0" title="Car Valeters"></a></td> <td><a href="services.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/navov_04.gif',1)"><img src="http://codingforums.com/images/car_wash_valeting_04.gif" alt="Detailing Services" name="Image6" width="115" height="43" border="0" title="Car Valeters London"></a></td> <td><a href="faqs.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/faq0v.gif',1)"><img src="http://codingforums.com/images/faq.gif" alt="Car Detailing London" name="Image8" width="115" height="43" border="0" title="Car Valeting Service"></a></td> <td><a href="contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/navov_05.gif',1)"><img src="http://codingforums.com/images/car_wash_valeting_05.gif" alt="Car Valeting Surrey" name="Image7" width="115" height="43" border="0"></a></td> <td><img src="http://codingforums.com/images/car_wash_valeting_06.gif" width="40" height="43" alt="Car Detailing Surrey" title="Car Valeting Service London"></td> </tr> </table> </td></tr> <tr> <td valign="top" background="http://codingforums.com/images/mainbg.gif"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td rowspan="2" valign="top"><img src="http://codingforums.com/images/car_wash_valeting_07.gif" width="39" height="390" alt="Mobile Valeting Service"></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="41%"> <div class="slideshow"> <a href="http://www.empirevaletingservices.co.uk/index.html"><img src="http://codingforums.com/images/sports-car-speeding-6029038.jpg" width="332" height="408" alt="Car Valeters Service" title="Car Valeters Service"></a> <first image for ref> </div><script type="text/javascript" src="ieupdate.js"></script></td> <td width="59%" background="http://codingforums.com/images/welcome_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="50"><img src="http://codingforums.com/images/car_wash_valeting_09.gif" width="590" height="50" alt="Car Valet Service" title="Car Detailing London"></td> </tr> <tr> <td><table width="100%" border="0" align="center" cellpadding="10" cellspacing="0"> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="72%" valign="top" align="left"><h1><font color="99CCFF"><i><b>Specialist Car Valeting</b> & <b>Detailing in London </b>&<b> Surrey Empire</b></i> </font></h1><p><span class="titles"><font size= 2><a href="http://www.empirevaletingservices.co.uk/services.html">Empire Mobile Valeting Services</a></font></span><font color="#FFFFFF"><strong> delivers the ultimate in <b>car care</b> at affordable prices, from <b>car valeting services</b> through to <b>detailing services</b> in <b>London</b> and <b>Surrey</b>. Whether you need a outside wash to a full <b>paint correction</b>, We are specialists in <b>car valeting</b> and <b>car detailing</b> and all our <b>car valeters</b> will surpass your expectations and go the extra mile to make your<b> vehicle</b> look its best by using the latest products and techniques. As a <b>mobile valeting</b> and <b>detailing company</b> <b>Empire</b> brings a wide range of <b>car care services</b> to your home or place of work. All our <b>valets</b> and <b>details</b> can be designed for your needs. All <b>vehicles</b> are catered for from your family <b>vehicle</b> upto <b>exotic supercars</b> and <b>classic cars</b>. For full comprehensive <b>details</b> of our <b>detailing services</b> please give us a call or email and we will be happy to help.<br><br> We cover <b>London</b> and <b>Surrey</b>, supply all the water, electricity and the latest <b>products</b>. More importantly we have over 35 years experience in <b>car valeting and detailing</b> and are highly respected in our field. <br><br>As you would expect from a <b>premier company</b> we are fully insured and all <b>car valeters</b> and <b>detailers</b> are fully trained. Our prices reflect the superb <b>service</b> that our <b>London</b> and <b>Surrey</b> based <b>valeters</b> and <b>detailers</b> deliver. We do not allot a time slot to your <b>vehicle</b> our <b>valeters</b> and <b>detailers</b> will work on your <b>car</b> until it looks it's best. All <b>valets</b> and <b>details</b> are to the highest of standards. If you choose <b>Empire</b> for your <b>car care</b> needs you won't be dissapointed. We now accept credit / debit cards via chip and pin machine or over the phone.<br><br><strong>Please visit our <a href="http://carvaletingservice.wordpress.com/226-2/"target="_blank">comments</a> and our <a href="http://carvaletingservice.wordpress.com/gallery/"target="_blank">gallery</a> page.<p><strong><strong><strong>Office – 0203 689 1825 Mobile – 07790 937 233 We work 7 days a week!</strong></font> </tr> </table></td> </tr> </table></td> </tr> </table> </td> </tr> </table> </td> <td rowspan="2" valign="top"><img src="http://codingforums.com/images/car_wash_valeting_10.gif" width="39" height="390" alt="Specialist Mobile Car Valeting" title="Specialist Mobile Car Valeting"></td> </tr> <tr valign="top"> <td height="73" valign="top" background="http://codingforums.com/images/car_wash_valeting_12.gif"><table width="96%" border="0" align="center" cellpadding="9" cellspacing="0"> <tr> <td width="41%"><font color="#FFFFFF">©2008 – Present empirevaletingservices.co.uk. All rights reserved.</font></td> <td width="59%"><div align="right"><img src="http://codingforums.com/images/tel.gif" width="11" height="8" alt="Specialist Car Valeters"> <font color="#FFFFFF"><strong>Phone: 0203 689 1825</strong></font> <img src="http://codingforums.com/images/mail.gif" width="11" height="8" alt="Car Valeters"> <font color="#FFFFFF"><strong>Email:</strong></font> <a href="mailto:info@empirevaletingservices.co.uk" class="white">info@empirevaletingservices.co.uk</a> </div></td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://www.facebook.com/Empiremobilevaleting"target="_blank"><b><u>Join us on Facebook</u></b></a> <a href="http://carvaletingservice.wordpress.com/"target="_blank"><b><u>Read Our Blog</u></b></a> <a href="https://plus.google.com/105765629834503876756/about/"target="_blank"><b><u>Google +</u></b></a></td> <td width="16%"> <a href="http://www.empirevaletingservices.co.uk/contact.html"target="_blank">Car Valeting Services</a> <font color="#999999">: <a href="http://www.empirevaletingservices.co.uk/services.html"target="_blank">Car Detailing</a></font></td> </tr> </table></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td valign="top"><img src="http://codingforums.com/images/car_wash_valeting_13.gif" width="1000" height="134" alt="Car valeting in London" title="Car valeting in London"></td> </tr> </table> </div> <style type="text/css"> .slideshow { height: 340px; width: 331px; margin: auto } .slideshow img { padding: 0px; border: 0px solid #ccc; background-color: #eee; } </style> <!-- include jQuery library --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"> </script> <!-- include Cycle plugin --> <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.72.js"> </script> <script type="text/javascript"> $(document).ready(function() { $('.slideshow').cycle({ fx: "fade" // choose your transition type, ex: fade, scrollUp, shuffle, etc... }); }); </script> <script language="JavaScript" type="text/JavaScript"> function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } </script> <!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5351509a69039d52" async="async"></script> </body> </html> thank you for your help!!!! How can I get this moved over the the JavaScript forum? The issue I am having is with the JavaScript not with the Sql database. http://www.codingforums.com/showthread.php?t=220870 Hey everyone, I have a page where I call two external javascript files, and they work perfectly when I have all the files on my desktop. But once I transferred all the files into a folder, the scripts stop working. What's going on?! EDIT: Nevermind. I just forgot to relocate my jquery file! HI I want to make a news section on right side of my webiste's main page, it can in dreamweaver, someone can help me in this regard thanks zami 0 down vote favorite I have been struggling with this for some time.. I searched around but didnt get a solution yet. This is only an issue on production server. In my development environment, everything works just fine. I am using JQuery/Ajax to update product information based on product's Color attribute. for example, a product has A and B color, the price for color A is different from color B. When user choose different color, the price information is updated as well. What I did is to first add a javascript function: function updateProductVariant() { var myval = jQuery("#<%=colorDropDownList.ClientID%>").val(); jQuery.ajax({ type: "POST", url: "/Products.aspx/GetVariantInfoById", data: "{variantId:'" + myval + "'}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { var obj = jQuery.parseJSON(response.d); jQuery("#<%=lblStockAvailablity.ClientID%>").text(obj.StockMessage); jQuery(".price .productPrice").text(obj.CurrentPrice); jQuery(".price .oldProductPrice").text(obj.OldPrice); } }); } Then I can register the dropdown list's 'onclick' event point to function 'updateProductVariant' GetVariantInfoById is a Web method in the codebehind, its also very straightforward: [WebMethod] public static string GetVariantInfoById(string variantId) { int id = Convert.ToInt32(variantId); ProductVariant productVariant = IoC.Resolve<IProductService>().GetProductVariantById(id); string stockMessage = productVariant.FormatStockMessage(); StringBuilder oBuilder = new StringBuilder(); oBuilder.Append("{"); oBuilder.AppendFormat(@"""{0}"":""{1}"",", "StockMessage", stockMessage); oBuilder.AppendFormat(@"""{0}"":""{1}"",", "OldPrice", PriceHelper.FormatPrice(productVariant.OldPrice)); oBuilder.AppendFormat(@"""{0}"":""{1}""", "CurrentPrice", PriceHelper.FormatPrice(productVariant.Price)); oBuilder.Append("}"); return oBuilder.ToString(); } All these works fine on my local box, but if i upload to the production server, catching the traffic using fiddler, /Products.aspx/GetVariantInfoById becomes a 302 Object moved Object moved to here. On my local box, HTTP/1.1 200 OK Server: ASP.NET Development Server/10.0.0.0 Date: Thu, 03 Mar 2011 09:00:08 GMT X-AspNet-Version: 4.0.30319 Cache-Control: private, max-age=0 Content-Type: application/json; charset=utf-8 Content-Length: 117 Connection: Close But when deployed on the host, it becomes HTTP/1.1 302 Found Proxy-Connection: Keep-Alive Connection: Keep-Alive Content-Length: 186 Via: 1.1 ADV-TMG-01 Date: Thu, 03 Mar 2011 08:59:12 GMT Location: http://www.pocomaru.com/Products.asp...d/default.aspx Server: Microsoft-IIS/7.0 X-Powered-By: ASP.NET then of course, then it returns 500 error title>Unknown web method GetVariantInfoById/default.aspx. Parameter name: methodName Can someone please take a look? I think its some configuration in the production server which automatically redirects my webservice call to some other URL, but since the product server is out of my control, i am seeking a local fix for this. Thanks for the help! |