JAVASCRIPT

1053 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
587 2
Closure in Javascript and its use
This article explains about, what is closures in javascript and it's use cases with example
Type
Article
javascript closure in javascript what is closure in javascript closure uses
525 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-in-javascript local-storage-vs-cookies localStorage web-storage-html5 sessionStorage-html5
453 2
how to modify url without reloading page?

How can I modify URL of a web page without reloading the complete page? Is it even possible using javascript or jquery?

I don't want to change the complete URL, just want to change URL after domain, i.e after https://www.test.com/change-from-here

thank you

...
Type
Question
javascript jQuery url-rewriting change-url-without-loading
375 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

351 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
315 1
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
293 1
how can i expand input field on click?

How can i expand input field when i click on on search icon, smoothly?

Something similar to above search button on this website

Here is the similar fiddle link, but transition is not smooth in it

...
Type
Question
jQuery javascript html css
281 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
280 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

Page 1 of 4