Linked Questions
331 questions linked to/from How do I create a GUID / UUID?
40
votes
1
answer
25k
views
Create Globally Unique ID in JavaScript [duplicate]
I have a script that, when a user loads, creates a unique id. Which is then saved in localStorage and used for tracking transactions. Sort of like using a cookie, except since the browser is ...
7
votes
1
answer
13k
views
Need a Unique ID in javascript for tab windows and for new windows in Internet Explorer [duplicate]
Need a simple approach to get a Unique ID in javascript for tab windows in Internet Explorer. I basically was wondering if there is something like document.tab.indexnumber, which there is not. So the ...
3
votes
1
answer
7k
views
How do I generate a UUID in SAP UI5 code? [duplicate]
I know how to do that in node.js, with npm-managed libraries like uuid. But what's a decent way to do this in browser-based SAP UI5 JavaScript code?
3
votes
1
answer
8k
views
How to generate unique id in javascript? [duplicate]
I want to log traffic on website. On every hit I want to generate unique Id that will will be stored in database.
To generate unique Id I wrote below code, but some time I get same entry in database.
...
5
votes
1
answer
2k
views
How to get purely unique number in javascript [duplicate]
I must create unique keys for certain objects I create (needed for React key prop), where key can be any random string or number, but has to be truly unique for each time it's generated in program ...
-2
votes
4
answers
849
views
How do I generate a number after a button is clicked? [duplicate]
Possible Duplicate:
How to create a GUID / UUID in Javascript?
I need to have a script that generates random numbers and letters with a form that looks like this:
M3KRT-CKKYV-YH4G4-YXP42-46FMT
...
-2
votes
2
answers
4k
views
Create GUID with JavaScript in IE9? [duplicate]
Possible Duplicate:
How to create a GUID / UUID in Javascript?
JavaScript: how to generate UUID for Internet Explorer 9?
Is there a way, completely windows platform dependent, of creating a GUID ...
2
votes
1
answer
2k
views
Generate unique product id [duplicate]
I have a page that I receive donations with on my site. My bank's API requires that I generate a unique order id for each transaction. How can i implement this in my code using javascript?
The code I'...
2
votes
1
answer
1k
views
Creating Unique Identifier in JavaScript [duplicate]
Possible Duplicate:
How to create a GUID / UUID in Javascript?
I have a need to create a unique identifier in JavaScript. I don't care what it is as long as it is unique across all computers in ...
0
votes
1
answer
861
views
How to get a random number/letter combination in Javascript? [duplicate]
i am trying to create a program which puts random numbers/letters in a textbox using javascript (in the browser console). I have tried my best to do it but i just couldn't do it.
my best attempt was:
...
-2
votes
1
answer
511
views
How to generate Unique ID without form submission in php ajax [duplicate]
i fill up 4 field(Name,Phone,Course,Center) in my form. 5th field is "roll". when i fill up 4 field, then how to generate roll without form submission,
i want to generate roll like that
My 4 field ...
0
votes
1
answer
401
views
how can i generate randome number using replace function javascript? [duplicate]
i'm new to javascript i need to generate random number using replace it is possible i try
function generateUUID() {
var dt = new Date().getTime()
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-...
1
vote
1
answer
272
views
how do i generate a uniqueidentifier [duplicate]
i develop application mobile where i use framework phonegap, and
i use to insert data into local data base my question is how do
to generate a uniqueidentifier for sqlite with javascript?
...
0
votes
1
answer
194
views
How to give a new REDUIX item a unique ID? [duplicate]
I am mapping an array of data with props into a component. Then onClick I pull some of that data into redux/reducer from the rendered items, trying to render the same data - but in a different spot on ...
0
votes
0
answers
112
views
Is there a way to create a php-like unique id using javascript? [duplicate]
Unique id created by php - uniqid() - for example - 63afe4f2903a2 - perfectly suits my needs, although it is not perfectly assured to be unique.
So I need a 13 characters length ID which is made using ...