1
vote
1answer
39 views

Javascript, replace not work in ipad, how to use replace in ipad?

I have used below code for replacing html, it is working in browser but not working in ipad safari browser how to resolve this? var text=$('#content_area').html(); var text2=text.replace('<span ...
0
votes
0answers
11 views

How to remove About Blank page in IE9 window.print?

Hi i am going to print some data by calling window.print(). In all browser it is working very great except IE9. In IE9 first page coming blank it contains default page as about blank page in next page ...
0
votes
0answers
23 views

handle unload event in side iframe

I have a two content area's one is div which is having dojo contentpane another one is iframe. when i am handling onBeforeUnload() in the iframe and navigating to the pages which is inside the dojo ...
0
votes
1answer
54 views

What's the best way to add click listener to my javascript tab bar?

I am planning to implement a tab bar module in JavaScript. I want to create a TabBar every time the page loaded, and then put two Tabs into it. The problem is, what's the best way to add click event ...
5
votes
3answers
324 views

Non-selectable columns in HTML table

I have a table with multiple columns.I want content of each column to be selected individually. When I start selecting first column , second ,third ... are automatically getting selected.When I select ...
8
votes
10answers
8k views

how to differentiate single click event and double click event?

I have a single button in li with id "my_id". I attached two jquery events with this element 1. $("#my_id").click(function() { alert('single click'); }); 2. ...
2
votes
1answer
42 views

JavaScript: how to check if mouse click event is simulated or is native? (non-jquery way)

With jQuery it's easy. With pure JavaScript isn't, at least it isn't easy to find out how. if (event.clientX && event.clientY) { ... } gives kind-of detection, but it's not 100% accurate.
1
vote
1answer
65 views

Javascript execute function in the interval, when mouse is on element

I want to implement a simple thing (mock up here) [+] 123 [-] when user holds mouse on + or - the sum is increased or decreased. So i write a simple script to do this ...
0
votes
5answers
34 views

Can't remove an added input field

I have a JavaScript code which I've adapted from an old cold that used .live(), changing it to .on(), as I'm using JQuery 1.9.1: Adding new input fields works correctly. The problem is that it isn't ...
0
votes
2answers
38 views

How do send an event in Ember?

I have this code in my html page: <script type="text/x-handlebars" data-template-name="logged"> <h1>Page</h1> {{view.name}} {{#view App.LoginButton}} ...
0
votes
3answers
15 views

want to give specific condition on the specific date but its not working properly

on a specific date i want to run some code but its not alerting on if condition var today=new Date(), dd = today.getDate(). mm= today.getMonth()+1, ...
0
votes
0answers
22 views

Postback not happening in DropDownList selection changed in Firefox during certain Ajax calls

I am using a third party ASP.NET callback panel. In a certain workflow and in Firefox, (works in IE) when the callback panel returns from the ajax call, the ASP.NET dropdownlist doesn't trigger a ...
0
votes
1answer
30 views

How attach a click event with chainning method javascript

I'm really starving of knowleged guys!! How does the click event work in JQuery? I mean, I learned how to make chaining method but I have no idea of how make the click event like this. ...
1
vote
2answers
30 views

jQuery events after the $.post is happening before the request finishes [duplicate]

I have the following code, and for some odd reason, the order in which the events are happening is not making sense to me. Is there anyway in which I can make it so that it goes in the order? var ...
-1
votes
1answer
53 views

Global variable value is not appearing in else if statement of javascript

I'm defining a global array Arr and inserting few values inside the array in if condition I can see all the values of array Arr in if condition but when i try to use the Arr in else if condition I'm ...

1 2 3 4 5 431
15 30 50 per page