Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 HTML5 Media Error Routine
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 13 January 2016 :  21:13:52  Show Profile  Reply with Quote
Apparently there's a networkstate value which will indicate 4 when a file is not found. How can I have it automatically read that value using vbscript/ASP(without the need for button click) and then submit a form or take another action? If it requires interaction, it's useless to me.

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 January 2016 :  06:00:06  Show Profile  Visit HuwR's Homepage  Reply with Quote
you should be able to handle this in javascript with an onerror event
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 January 2016 :  07:35:20  Show Profile  Reply with Quote
Tried, but it didn't work.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 January 2016 :  13:38:46  Show Profile  Visit HuwR's Homepage  Reply with Quote
can you post your code

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 January 2016 :  16:20:47  Show Profile  Reply with Quote
No, it belongs to the government. Can't publish it. Was just hoping for an example written using vbscript/javascript that I could modify and integrate. The ones I've seen on the web and tried all either do nothing (e.g., onerror) or require user interaction (for which I could simply use a "report error" button).
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07