8552 2
how to pass value to razor variables from JavaScript?

How can I pass value to razor variables from JavaScript in .cshtml(razor) page (asp.net mvc C#)?

Something like this

...
Type
Question
JavaScript jquery C# MVC asp-net
3242 2
How to compare two arrays using Javascript and get unmacthed elements?

Hi, I need to compare two arrays using javascript or jQuery and then get distinct values from each of them, like for example:

...
Type
Question
javascript arrays compare-arrays-values
2640 2
How to remove quotation marks (double quotes) from string using jQuery or Javascript?

I am working on a web-application which returns JSON results as "/FileURL", I just need to get /FileURL as a result, means I need to remove quotation marks (double quotes) from returned JSON string using jQuery or Javascript, how can I do that?

...
Type
Question
Javascript jQuery remove double quotes
2158 0
Local Storage in HTML5 using Javascript (Storing-fetching objects)
This article explains about HTML5 local storage and how to use local storage in javascript (storing and retrieving objects), instead of cookies to get better security and faster results.
Type
Article
javascript HTML5 local-storage-vs-cookies localStorage web-storage-html5 sessionStorage-html5 html5 local storage
2034 1
SyntaxError: Invalid shorthand property initializer

I am getting the error "SyntaxError: Invalid shorthand property initializer" in my Chrome console, after writing this code of javascript/jquery

...
Type
Question
javascript jQuery Syntax-Error $.get

1961 2
How to format JSON date into valid date using javascript or jquery?

I am getting JSON result from server, with date as given below

...
Type
Question
json-date javascript convert-json-date-into-valid-date convert json date to datetime
1948 0
Javasript ES6 class explanation with example
In this article, I have explained about javascript es6 classes, it's syntax & how to use it with an example.
Type
Article
ES6 javascript javascript es6 class javascript es6 class example javascript class javascript class example
1794 2
How to create social media share buttons using HTML & JavaScript? (no external library)

Hello, I would like to add social media share buttons on a website without using any external javascript plugin, as I am already using external JS plugins which increases page-load time, so I want to create custom social media buttons using HTML,CSS and Javascript or jquery only (without external plugins) to decrease page load time.

Any code help or link will work

thanks

...
Type
Question
HTML javascript social media share buttons without External plugin
1759 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
1646 3
Open and Close bootstrap modal using jquery?

I have a requirement to open and close bootstrap modal using jquery or javascript , as I have to kept it open until some background task is complete and after that close bootstrap modal pop-up as soon as task is completed succesffuly, how can iI achieve it using jquery-javascript?

...
Type
Question
jQuery bootstrap modal-pop-up modal-dialog

Page 1 of 6