praveen rapelli

praveen rapelli

  • NA
  • 28
  • 39.6k

How to call webservice from mozilla firefox

Jun 20 2011 5:29 AM
<html>
  <head>
  <title>Consume Count Service</title>
  <script>
  function tlaCL(str, flag )
  {
  tlaCountService.useService("intellisense.asmx?WSDL", "Service");
  tlaCid = tlaCountService.Service.callService("GetCustomers", str, flag);
  alert("hi1");
  }
  function tlaCR(evt )
  {
  tlaCount.innerText = evt .result.value ;
  alert("hi2");
  }
  var tlaCid ;
  </script>
  <div id="tlaCountService" style="behavior:url(webservice.htc)" onresult="tlaCR()"></div>
  </head>
  <body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
  <center>
  <span id="tlaCount">&#183;</span>
  </center>
  </body>
</html>

Question: One friend sending the above ,but this is also working only in internet explorer and not working in firefox,opera,google crome.

Answers (2)