I fixed the fetch local javascript bug.

Awesome.  Thank you.

I have exciting progress to report on freecarrierlookup.com

We are very close. Here's the issue. Is there some way we can allow elements to act as clickables when they are not a traditional HTML button, but basically anything like an image or a span, yet they have event code attached?

freecarrierlookup's submit button is a type="image"

The exciting thing about freecarrierlookup is that all of the other steps work. You can actually go to jdb and trigger the function that the submit is supposed to trigger: showCarrier. This goes to xhr. xhr loads the subject matter (the entry about the phone number you asked for). A callback places this in a div with id txtHint. innerHTML side effect works beautifully. When you exit out of jdb, the information has made it back to edbrowse!

Here's the image with the onclick.
<input type="image" src="images/search2.png" onmouseover="this.src='images/search2hi.png'" onmouseout="this.src='images/search2.png'" onclick="showCarrier(document.getElementById('small').value, document.getElementById('large').value);return false"/>


Tyler also asked about something on the site fanfiction.net which I think in part is a related issue of event handlers on arbitrary elements that we haven't earmarked as being interactive.

I think there is a lot of transforming of elements on the fly using JS and CSS. It could say <cat> and be made to woof like a dog through the magic of simply overriding everything and assuming all responsibility for managing the suppression of the cat behaviors and coding all of the canine ones.
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to