1127 2
How to check if string contains substring using jQuery-Javascript?

I am trying to send data to front end, using Ajax call, now I am getting string like

...
Type
Question
jQuery Javascript substring-from-string contains
1099 1
How to check if url contains a sub-string using jQuery or javascript?

How do i check if the current URL contains the sub-string using jQuery or javascript?

I need to select a anchor tag using class if a condition is met, suppose i need to check if URL has "/CRM" then select

...
Type
Question
javascript check if url contains string jquery check if url has parameters javascript
1096 1
How to get client's IP address using javascript or jQuery

Hello, I would like to know, how to get client’s IP address using JavaScript and jQuery?any working example or code? thanks

...
Type
Question
javascript jQuery get client's IP address using javascript
816 2
how to format text as a dollar currency using javascript or jquery?

I would like to format the input string in my textbox to dollar currency formatted text, so if I enter 100.00000 in it, output should be

...
Type
Question
javascript jquery formatting-text-as-currency
805 2
How to make Ajax request synchronous in jQuery?

Is there any way to make Ajax request Synchronous in jQuery/javascript?

I am trying to fetch a data from the server while loading the <div> data and depending on that data, i will fetch another query, which can be asynchronous but the first one should be synchronous as data will be parsed after the success of the call.

Code:

...
Type
Question
jQuery javascript ajax-synchronous

801 2
How to get query string values in JavaScript or jQuery?

I am working on a web-application and would like to know, how can I get query string value in javascript (possible using jquery, or with plain javascript), I don't want to increase page load time by adding an extra plugin, a demo code example would work.

thanks

...
Type
Question
javascript query-string-in-javascript query-string-using-javascript
796 1
calculate distance between two locations in google maps
How do you calculate the distance between two locations(points or lat/lang) in Google Maps using javascript or jquery?
thank you
...
Type
Question
javascript jquery google-maps
771 2
Difference equals operator (== vs ===) in JavaScript and which to use when?

I came up with two javascript comparison operators ==(two equals) and ===(three equals) sign, I would like to know when I should use which of these comparison operators and when?

Is there any performance improvement when using ===? 

Thanks

 

...
Type
Question
javascript operatos identity-operator equality-operator
756 0
Top Alternatives of jQuery
Article gives introduction about top alternatives of jQuery, which you can use instead of jQuery
Type
Article
jQuery top-alternatives JavaScript-library
752 1
DataTables breaks on last “Next” or any “Previous” paginate button

I have the following DataTable which calls status_icons() function for replacing 0 & 1 values with icons.

At first results page (on initComplete) I call status_icons() for the replacement and then I make a trigger out of DataTables scope in order to have my function re-executed for next paginated results due to DataTable DOM reconstruction behavior for each pagination.

The error I get is that re-adds the status icons over the current ones when you click on the "Previous" button on any pagination or the numbered pagination boxes.

My function for replacing values with icons

...
Type
Question
jquery datatable javascript

Page 2 of 6