Web Service call in javascript in an SVG page

admin

Administrator
Staff member
Hi there!
I'm developing an ASP.NET web application which uses SVG and not HTML. One of the HTML ways of calling a web service is:

<div id="myService" style="behavior:url('webservice.htc')" /> etc.

The id is used as the reference to the web service in the client script.
Since I am using an SVG document - not HTML - I don't know how to access an element from the client script since I don't have a <div> tag.
So... the question is: How to do it the XML/SVG-way?

PS. embedding HTML with the <switch><foreignObject><html> etc. and having the <dev ...>-tag within doesn't work.
regards
 
Back
Top