Click here to Skip to main content
15,889,096 members
Home / Discussions / JavaScript
   

JavaScript

 
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 
AnswerRe: regarding Jquery Modal popup Pin
Not Active10-Jan-11 2:44
mentorNot Active10-Jan-11 2:44 
GeneralRe: regarding Jquery Modal popup Pin
marc lambert o. agas19-Jan-11 21:44
marc lambert o. agas19-Jan-11 21:44 
GeneralRe: regarding Jquery Modal popup [modified] Pin
Not Active20-Jan-11 2:44
mentorNot Active20-Jan-11 2:44 
GeneralRe: regarding Jquery Modal popup Pin
Manfred Rudolf Bihy20-Jan-11 4:23
professionalManfred Rudolf Bihy20-Jan-11 4:23 
GeneralRe: regarding Jquery Modal popup Pin
Not Active20-Jan-11 12:32
mentorNot Active20-Jan-11 12:32 
Questionurl from textbox in iframe [modified] Pin
dlog19729-Dec-10 15:59
dlog19729-Dec-10 15:59 

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.