client-side Questions

2

Solved

How can I truly CSR (client-side render) some pages in my NextJs application? The documentation says that the presence of either getServerSideProps or getStaticSiteProps in a page would make it pre...
Magnien asked 28/11, 2022 at 7:42

3

I am trying to figure out how to pass a variable declared on the server side of my nextjs 13 app into a client side function that I have declared in one of my component files. As you can see in my ...
Controvert asked 16/4, 2023 at 17:42

6

Solved

I need to find a solution to be able to combine together the functionality of react router with the material ui components. For instance, I've this scenario: a router and a button. What I tried to...
Hamish asked 4/7, 2016 at 15:10

1

Is it possible to use sequelize on the client side? Are there solutions for that? Knex.js runs quite fine with the websql provider, is there a way to use sequelize the same way or with another ada...
Valency asked 3/1, 2015 at 11:26

14

Solved

This gets the value of whatever is selected in my dropdown menu. document.getElementById('newSkill').value I cannot however find out what property to go after for the text that's currently displ...
Pre asked 8/8, 2008 at 13:36

31

Solved

I know there are lot of questions of this nature but I need to do this using JavaScript. I am using Dojo 1.8 and have all the attribute info in array, which looks like this: [["name1", "city_name1...
Shellans asked 19/2, 2013 at 16:49

4

Solved

I would like to offer to the user the opportunity to save his/her results, as displayed on the web page. Using the browser's "save as" is no good, it saves the html code, or part of it, i...
Acidfast asked 28/11, 2020 at 14:31

11

Solved

Like every other web developer on the planet, I have an issue with users double clicking the submit button on my forms. My understanding is that the conventional way to handle this issue, is to dis...
Abroms asked 30/12, 2008 at 15:49

3

Solved

I'm currently working through the next.js tutorial, but I'm struggling to understand the following: The tutorial is telling me here, that clicking a <Link> element won't trigger a server requ...
Elute asked 2/11, 2020 at 10:57

10

Solved

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=A...

6

Solved

I am trying out Blazor and i do not understand why when changing a component after refreshing the browser page it does not update ? Shouldn't the client update itself similar to how angular does? ...
Paw asked 9/1, 2019 at 8:40

13

Solved

When I want to put a login system in place, I always compare the MD5 of the given password with its value in the users table on the server side. However, a friend of mine told me that a "clear" pa...
Ramify asked 15/9, 2010 at 8:32

4

Solved

I will be glad if someone could answer the following questions How does it work? Why is it necessary? What does it improve?
Intellectuality asked 17/4, 2012 at 11:18

6

Solved

Does anyone know if there is a script available to detect darkness/lightness in an image (HTML included) using a client sided script? I basically want to be able to detect the brightness of image (...
Sinuate asked 7/12, 2012 at 12:11

3

Solved

The purpose is to; If checkbox is disabled, do nothing. If checkbox is enabled and checked, set the style of a button. Here is what I've got so far; $(document).ready(function (e) { $(".checkb...
Legist asked 10/10, 2012 at 14:20

1

Solved

One can follow the Marked library documentation and render a Markdown string inline. This is a working code snippet. <div id="content"></div> <script src="https://cdn.jsdelivr.n...
Quasar asked 29/11, 2021 at 8:24

22

Solved

Is there a way to create a text file on the client side and prompt the user to download it without any interaction with the server? I know I can't write directly to their machine (security and all)...
Tombolo asked 8/9, 2010 at 6:24

5

I have a difficult question to you, which i'm struggling on for some time now. I'm looking for a solution, where i can save a file to the users computer, without the local storage, because local st...
Gamber asked 28/8, 2014 at 11:15

11

Solved

If you were to hash a user's password prior to sending it across the line and leaving it in plain-text in memory, would this improve the security of the application? I would assume this mitigates ...
Indebtedness asked 4/9, 2009 at 16:5

8

Solved

How can I run a batch file on the client side? An exe file? Just to open pre-installed program in client side? [Edit] Regarding ActiveX, I tried var activeXObj = new ActiveXObject("Shell.Applic...
Bohemianism asked 18/5, 2009 at 13:36

4

Solved

I'm trying to use client-side Blazor to display some data, provided by existing WCF service. I was able to add a connected service reference, the proxy is generated. But when I'm trying to invoke i...
Dorsal asked 22/7, 2019 at 12:43

3

I need to pass a potentially large amount of data from one page to another using client side techniques. It is basically a list of id's which will get displayed on the target page. Obviously query ...
Veridical asked 22/11, 2012 at 9:7

8

Solved

I would like to filter an array of items by using the map() function. Here is a code snippet: var filteredItems = items.map(function(item) { if( ...some condition... ) { return item; } }); The...

4

Solved

Some javascript frameworks like Dust.js claim that they ALSO support server-side rendering (in addition to client side rendering) as well. Can someone explain how does this work? My understanding i...
Gasometer asked 23/4, 2013 at 15:33

6

I am using react-router for client side routing. I have a button and when some one clicks the button, I want to redirect the user to a different url. For e.g I want to redirect the user to "http://...
Tonl asked 28/6, 2015 at 3:5

© 2022 - 2024 — McMap. All rights reserved.