Questions tagged [client-side-scripting]

Client-side scripting generally refers to the class of computer programs on the web that are executed client-side, by the user's web browser, instead of server-side (on the web server). It is used to create dynamic web pages, Most popular client side scripting language is JavaScript.

Client-side scripting generally refers to the class of computer programs on the web that are executed client-side, by the user's web browser, instead of server-side (on the web server). It is used to create dynamic web pages, Most popular client side scripting language is JavaScript.

This type of computer programming is an important part of the Dynamic HTML (DHTML) concept, enabling web pages to be scripted; that is, to have different and changing content depending on user input, environmental conditions (such as the time of day), or other variables.

Client-side scripts are often embedded within an HTML or XHTML document (hence known as an "embedded script"), but they may also be contained in a separate file, which is referenced by the document (or documents) that use it (hence known as an "external script"). Upon request, the necessary files are sent to the user's computer by the web server (or servers) on which they reside. The user's web browser executes the script, then displays the document, including any visible output from the script. Client-side scripts may also contain instructions for the browser to follow in response to certain user actions, (e.g., clicking a button). Often, these instructions can be followed without further communication with the server.

177 questions
120
votes
9 answers

Getting query parameters from react-router hash fragment

I'm using react and react-router for my application on the client side. I can't seem to figure out how to get the following query parameters from a url like: http://xmen.database/search#/?status=APPROVED&page=1&limit=20 My routes look like this…
58
votes
14 answers

Apple Cover-flow effect using jQuery or other library?

Does anyone know how to achieve the cover-flow effect using JavaScript to scroll through a bunch of images. I'm not talking about the 3D rotating itunes cover-art, but the effect that happens when you hit the space bar in a folder of documents,…
Nathan
12
votes
3 answers

Authenticate Windows Authentication using Javascript

I have to transfer my client from one website to another website. This happens in client side. In this 2nd website, its using windows basic authentication system. So It popups the login window. I need to omit this Popup window and authenticate my…
12
votes
3 answers

Blank map tiles - Error 410 gone (Mapbox & Leaflet JS)

I am using Leaflet JS and MapBox to create a map. My browser displays as below: The map does not show at all, my map tile is blank. The errors that I get in the dev tools console is: GET…
Sam Vitare
  • 321
  • 3
  • 13
6
votes
1 answer

Are Images Rendered Client Side or Server Side?

I've just gotten started with web development, particularly Reactjs, which introduces "client side rendering." I think I understand the concept of client vs server side rendering, but I don't exactly know how to understand these concepts…
6
votes
7 answers

Client side scripting and Server side scripting languages

What scripting languages comes under client side and what and all comes under server side? If JavaScript is scripting language, then what about jquery. jquery is nothing but javascript library rite? so jquery is client side scripting? I goggled…
Rachel
  • 1,101
  • 10
  • 25
  • 43
5
votes
2 answers

adding image namespace in svg through JS still doesn't show me the picture

after working out getting the parameter through a scaled version of a picture, I am trying through Javascript adding the picture with the original size parameter in SVG. Firebug shows me the element, and all the necessary parameter, but with best…
SmileMZ
  • 459
  • 4
  • 12
5
votes
3 answers

Compiling scss on client side to save on network

I've seen this example for an animated star background using css, and noticed that the compiled css is significantly smaller in this case as the sass generates a thousand stars in a loop. // n is number of stars required @function…
5
votes
2 answers

At which point does one fetch a Backbone Model on which a view depends?

I seem to often end up in a situation where I am rendering a view, but the Model on which that view depends is not yet loaded. Most often, I have just the model's ID taken from the URL, e.g. for a hypothetical market application, a user lands on the…
init_js
  • 2,780
  • 16
  • 41
5
votes
1 answer

Best way to store shopping cart details localstorage or server side cookies

I'm currently developing a e-commerce site which is going to have around 500 items. I need the site to be supported by IE8+, Firefox, chrome. The users of the site should be able to add the items to the cart even without login. once they login they…
5
votes
1 answer

Why can't I get 'sessionid' on the client side?

I log into django admin. When I open firebug JS console and try to print cookies with document.cookie I only get csrftoken cookie. But when I open Firefox preferences > Privacy > Delete cookie... then I can see sessionid cookie. How to get that on…
Memke
  • 518
  • 1
  • 6
  • 21
4
votes
6 answers

Register scripting language with browser?

Do any browser vendors support the use of any scripting languages besides text/javascript text/vbscript (IE only) for example: text/lua text/cs-script text/php text/tcl If i wanted to use another scripting language in a browser:
4
votes
1 answer

Combining Static Sites + Client Side Rendering (React, Gatsby)

I want to build a web app with React. When users visit the site, they will see a Landing Page, can go to a Pricing Page, an About page, a Blog. etc. They can also Sign Up or Log in and then there's the actual app. I would like render certain pages…
4
votes
2 answers

How To Send Streaming Video And Audio Data To The Server?

I am trying to build a video chat web api using html and javascript. So far I found this code that accesses the microphones and webcam on the client's device and displays the video and audio on that client's screen. Here is that code:…
3
votes
1 answer

Detect USB key/drive using PHP (client side installation)

first of all, I want to be clear on this point, the PHP script will run on the client side (not server side, I know it's impossible!). How can PHP detect USB key/USB drive when it is plugged on the USB port? Or, how can it detest USB when running…
Jeremy Dicaire
  • 3,445
  • 6
  • 31
  • 59
1
2 3
11 12