You must Sign In to post a response.
  • Category: HTML

    How to covert htc component to javascript


    In my code div style is defined in .htc file. In control style=behavior: url(.//.htc) defined like that. But this code is not working in HTML 5 browsers. So how to rewrite these behaviors defined in .htc file to JavaScript? And how to assign those control styling?
  • #764317
    Hi chinnari,

    I had google'd and found something which may be useful to you.

    It is not possible that you could directly convert a .htc component to a javascript. That is, it's not possible automatically, in general. However you could convert it using jQuery's live event. But anyway, there are plenty of Javascript-only libraries for this.

    You may go through following URL's for code snippets:
    Shashikant Gurav

  • Sign In to post your comments