Click here to Skip to main content
15,917,593 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: PageMethods in Jquery Pin
Not Active25-Jan-11 3:57
mentorNot Active25-Jan-11 3:57 
GeneralRe: PageMethods in Jquery Pin
Vimalsoft(Pty) Ltd25-Jan-11 20:33
professionalVimalsoft(Pty) Ltd25-Jan-11 20:33 
Questionhow to enable/disable multiselection of table cells Pin
asbasir24-Jan-11 22:36
asbasir24-Jan-11 22:36 
Questionopener.document Pin
fififlowertot24-Jan-11 22:06
fififlowertot24-Jan-11 22:06 
AnswerRe: opener.document Pin
Richard MacCutchan25-Jan-11 3:03
mveRichard MacCutchan25-Jan-11 3:03 
AnswerRe: opener.document Pin
GenJerDan25-Jan-11 3:10
GenJerDan25-Jan-11 3:10 
QuestionChanging the CSS properties of a menu bar. Pin
Douglas Kirk24-Jan-11 20:56
Douglas Kirk24-Jan-11 20:56 
Questionvar abc = abc || {}; in Java Script Pin
Umair Feroze18-Jan-11 0:27
Umair Feroze18-Jan-11 0:27 
AnswerRe: var abc = abc || {}; in Java Script Pin
Umair Feroze19-Jan-11 3:12
Umair Feroze19-Jan-11 3:12 
GeneralRe: var abc = abc || {}; in Java Script Pin
jsc4219-Jan-11 5:53
professionaljsc4219-Jan-11 5:53 
GeneralRe: var abc = abc || {}; in Java Script Pin
Not Active19-Jan-11 7:09
mentorNot Active19-Jan-11 7:09 
GeneralRe: var abc = abc || {}; in Java Script Pin
jsc4220-Jan-11 3:30
professionaljsc4220-Jan-11 3:30 
GeneralRe: var abc = abc || {}; in Java Script Pin
Not Active20-Jan-11 3:49
mentorNot Active20-Jan-11 3:49 
QuestionGet JSON Array [modified] Pin
dataminers17-Jan-11 12:04
dataminers17-Jan-11 12:04 
How can I initailize array data to variable in JQuery. I want to initialize data from server-side instead of such as the following one.

var myVariable = ["ActionScript", "AppleScript", "Asp", "Scheme"];


-------------------------------------------------------------------

IN SERVER SIDE (cs file)

[System.Web.Services.WebMethod]
public static string MyFunction()
{
// This function return like this string array "ActionScript", "AppleScript", "Asp"....
// Return What? string array or string and how?
}


-------------------------------------------------------------------

I WANT TO CATCH STRING ARRAY ON ASPX (Callback)

<script type="text/javascript">
$(function () {
$.ajax({
type: "POST",
url: "AutoComplete.aspx/MyFunction",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",

success: function (msg) {
????? how can I initialize data
var result = WHAT I DO...


Thanks....
modified on Tuesday, January 18, 2011 6:25 AM

Questionzoom in and zoom out for entire page in all browser Pin
niladri0310-Jan-11 1:56
niladri0310-Jan-11 1:56 
AnswerRe: zoom in and zoom out for entire page in all browser Pin
J4amieC10-Jan-11 2:42
J4amieC10-Jan-11 2:42 
AnswerRe: zoom in and zoom out for entire page in all browser Pin
Not Active10-Jan-11 2:49
mentorNot Active10-Jan-11 2:49 
GeneralRe: zoom in and zoom out for entire page in all browser Pin
Ed Nutting14-Jan-11 9:03
Ed Nutting14-Jan-11 9:03 
GeneralRe: zoom in and zoom out for entire page in all browser Pin
Not Active14-Jan-11 9:23
mentorNot Active14-Jan-11 9:23 
GeneralRe: zoom in and zoom out for entire page in all browser Pin
Ed Nutting14-Jan-11 9:34
Ed Nutting14-Jan-11 9:34 
GeneralRe: zoom in and zoom out for entire page in all browser Pin
Not Active14-Jan-11 9:48
mentorNot Active14-Jan-11 9:48 
GeneralRe: zoom in and zoom out for entire page in all browser Pin
Ed Nutting14-Jan-11 9:57
Ed Nutting14-Jan-11 9:57 
Questionhow to gridivew in-place edit with jquery Pin
Tridip Bhattacharjee9-Jan-11 23:58
professionalTridip Bhattacharjee9-Jan-11 23:58 
AnswerRe: how to gridivew in-place edit with jquery Pin
Not Active10-Jan-11 2:46
mentorNot Active10-Jan-11 2:46 
Questionregarding Jquery Modal popup Pin
Tridip Bhattacharjee9-Jan-11 23:56
professionalTridip Bhattacharjee9-Jan-11 23:56 

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.