Click here to Skip to main content
15,891,431 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: jquery grid paging and textbox event Pin
Sunasara Imdadhusen5-May-11 3:58
professionalSunasara Imdadhusen5-May-11 3:58 
QuestionJquery Autocomplete Pin
fififlowertot13-Apr-11 5:51
fififlowertot13-Apr-11 5:51 
AnswerRe: Jquery Autocomplete Pin
Not Active13-Apr-11 6:12
mentorNot Active13-Apr-11 6:12 
GeneralRe: Jquery Autocomplete Pin
fififlowertot14-Apr-11 0:26
fififlowertot14-Apr-11 0:26 
GeneralRe: Jquery Autocomplete Pin
Gerben Jongerius14-Apr-11 1:14
Gerben Jongerius14-Apr-11 1:14 
GeneralRe: Jquery Autocomplete Pin
fififlowertot14-Apr-11 1:37
fififlowertot14-Apr-11 1:37 
Questionselect with same data/options Pin
Morgs Morgan7-Apr-11 22:35
Morgs Morgan7-Apr-11 22:35 
AnswerRe: select with same data/options Pin
Luc Pattyn8-Apr-11 1:10
sitebuilderLuc Pattyn8-Apr-11 1:10 
there are several ways to do this. here are a few:

1.
compare 2 with 1; then 3 with 1 and 2; then...

2.
create a bit mask where each bit corresponds to a value (bit1=value 1, bit2=value 2, bit3= value 3,...); start at zero, then OR with the bit value, in pseudo-code bitmask=bitmask | (1<<value) and finally check the final value is what it should be: 0x7E

3.
similar to #2, use a bit mask; before ORing in a new bit, check the bit is still zero; if it isn't, there is a duplicate.

4.
same as #2 or #3, however use a string instead of a bit mask.

5.
same as #2, however use an array, have it sorted, then compare with what it should be.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: select with same data/options Pin
Morgs Morgan8-Apr-11 3:19
Morgs Morgan8-Apr-11 3:19 
AnswerRe: select with same data/options Pin
Luc Pattyn8-Apr-11 3:31
sitebuilderLuc Pattyn8-Apr-11 3:31 
GeneralRe: select with same data/options Pin
Morgs Morgan8-Apr-11 5:26
Morgs Morgan8-Apr-11 5:26 
AnswerRe: select with same data/options Pin
sydongda10-Apr-11 22:56
sydongda10-Apr-11 22:56 
GeneralRe: select with same data/options Pin
Luc Pattyn10-Apr-11 23:01
sitebuilderLuc Pattyn10-Apr-11 23:01 
GeneralRe: select with same data/options Pin
sydongda11-Apr-11 19:48
sydongda11-Apr-11 19:48 
QuestionWhich should i include in my page??(About JQuery UI) Pin
zouleisheng6-Apr-11 21:02
zouleisheng6-Apr-11 21:02 
AnswerRe: Which should i include in my page??(About JQuery UI) Pin
Not Active7-Apr-11 2:28
mentorNot Active7-Apr-11 2:28 
AnswerRe: Which should i include in my page??(About JQuery UI) Pin
Monjurul Habib12-Apr-11 12:31
professionalMonjurul Habib12-Apr-11 12:31 
QuestionVertical slide show Pin
venu65630-Mar-11 20:49
venu65630-Mar-11 20:49 
AnswerRe: Vertical slide show Pin
preethipriya52330-Mar-11 21:26
preethipriya52330-Mar-11 21:26 
AnswerRe: Vertical slide show Pin
Morgs Morgan7-Apr-11 22:40
Morgs Morgan7-Apr-11 22:40 
AnswerRe: Vertical slide show Pin
Prasanta_Prince17-Apr-11 8:09
Prasanta_Prince17-Apr-11 8:09 
QuestionEquivalent to System.Math.Max(System.Threading.Interlocked.Increment Pin
Pierre besquent28-Mar-11 4:48
Pierre besquent28-Mar-11 4:48 
AnswerRe: Equivalent to System.Math.Max(System.Threading.Interlocked.Increment Pin
Not Active28-Mar-11 6:02
mentorNot Active28-Mar-11 6:02 
GeneralRe: Equivalent to System.Math.Max(System.Threading.Interlocked.Increment Pin
Pierre besquent28-Mar-11 23:04
Pierre besquent28-Mar-11 23:04 
GeneralRe: Equivalent to System.Math.Max(System.Threading.Interlocked.Increment Pin
Not Active29-Mar-11 1:20
mentorNot Active29-Mar-11 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.