ondblclick not working in webView for windows phone 8.1 - windows-phone-8

I am having a webview element in the app for windows phone 8.1
I am using NavigateToString method to load the html in the webview. This is the tag for double click event.
<span id="3" ondblclick="notify(3)">
But the event is not being triggered on double click, but it works when I use onclick instead of ondblclick. The html code works fine when I run it on desktop browser and the ondblclick event also works.
Does the webview doesn't support ondblclick? If it does how to get it work?

webView does not support ondbclick. You can use onclick instead of ondblclick, or client add a listener to listen to dbclick.

Related

How to catch when HTML element ist clicked in WebView with Xamarin.Forms?

I'm using a Xamarin.Forms WebView to bind in a HTML webpage in my App. Now i need to execute some code within my App when a specific button in that HTML page ist clicked.
I have seen a few approaches for Android WebViews but i cant transfer it to Xamarin.Forms.
Example: How to catch element click by ID in Android webview?

Tap vs swipe event on Windows Phone 8

I'm developing an app for WP8, and I'm having some issues...
When I slide/swipe/scroll my LongListBox in the emulator, the Tap event gets triggered!
How can I differentiate between a tap and a swipe gesture?
This can also be to do with bubbling of events. In Windows Phone this can be easily handled using the IsHitTestVisible property.
It could be a bug with the emulator.
You could always just check for the events when releasing, rather than relying on gestures, so that you can determine if they indeed tapped or swiped.
Alternatively, have someone test for you on Windows 8 to see if it's an actual issue with the emulator.

windows phone: jquery mobile swipe not recognized

I'm making an HTML + jquery mobile app. It works fine on my pc but when I try it out on my windows phone the swipe event doesn't seem to get fired..
$('div.ui-page').live("swipeleft", function () {
goToNextPage()
});
Windows Phone 7/IE9 does not support mousemove event so there is not way for jquery mobile to recognize swipe event.
Some mobile frameworks like Apache Cordova (PhoneGap) provide workaround for this by adding special shim between native (silverlight) touch events and web browser control to fix missing mouse events. Demo
Update
This works fine on Windows Phone 8 since it supports mousemove.
Tested the jquery mobile swipe example on a Lumia 920, and it worked perfectly. So trust it works well for WP8 devices. http://jquerymobile.com/demos/1.3.0/docs/examples/swipe/swipe-page.html. I actually used a slide menu plugin with swipe function and it worked on the Lumia 920. Here is the link to the plugin : https://github.com/tegansnyder/JQuery-Mobile-Slide-Menu

Chrome - onclick and href at the same time

This works fine in IE and FIREFOX. I just can't get it to work right in CHROME.
What I want to happen when the link is clicked, to launch the local mail client and then change the page to google.
In chrome, if I use the tag below it will launch the local mail client, but it won't change the page to Google.
Launch outlook and google
If I add "return false" on the end as seen below, it will change the page to google, but it won't launch the local mail client.
Launch outlook and google
How do I get this to work in CHROME like it does in IE and FIREFOX?
javascript: makes no sense in onclick and is syntactically incorrect. You should actually bind the event with JavaScript using addEventListener, but if you must use onclick, just
window.location.href = 'http://www.google.com/'
Should be enough. Also, why the return false? That would stop the default event which is the opening of the mail client, right?

Launching the phone from HTML5 or Cordova

Does anyone know if it is possible using HTML5 or Cordova (PhoneGap) to launch a phone number? I'd like to have a button labeled "Call 555-555-5555", and when pressed, it launches the device's phone with that number.
Use the html tel scheme like this:
Call 555-555-5555
For more detail check this Click to Call link