Click here to Skip to main content
15,885,985 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionAll code on one line? Pin
#realJSOP23-Apr-11 1:04
mve#realJSOP23-Apr-11 1:04 
AnswerRe: All code on one line? Pin
Not Active23-Apr-11 3:12
mentorNot Active23-Apr-11 3:12 
GeneralRe: All code on one line? Pin
#realJSOP23-Apr-11 3:37
mve#realJSOP23-Apr-11 3:37 
GeneralRe: All code on one line? Pin
Not Active23-Apr-11 4:36
mentorNot Active23-Apr-11 4:36 
AnswerRe: All code on one line? Pin
RakeshMeena9-Jun-11 19:44
RakeshMeena9-Jun-11 19:44 
QuestionBrowse for folder Pin
krutikaji22-Apr-11 7:40
krutikaji22-Apr-11 7:40 
AnswerRe: Browse for folder Pin
Not Active22-Apr-11 8:58
mentorNot Active22-Apr-11 8:58 
Questionajaxupload [modified] Pin
dbongs21-Apr-11 0:23
dbongs21-Apr-11 0:23 
new AjaxUpload("#fuCondition", {
                action: servicesPath + 'Handlers/FileUpload.ashx?t=0&BRH_ID='+ $("#BRH_ID").val()+"&USR_ID="+ $("#USR_ID").val()+"&DeedOffice="+ $("#DeedOf").val(),

name: 'userfile',
                data: {},
                autoSubmit: true,
                responseType: false,

onChange: function (file, extension) {
                    
                    $("#fuCondition").hide();
                    $("#Uploading").show();
                },

onSubmit: function (file, extension) {
                   if (!(extension && /^(rtf|zip)$/.test(extension))) {
                       alert('Error: file type not allowed.');
                       return false;
                   }
                   this.disable();
               },

onComplete: function (file, response) {
                    $('#file_name').val(file);
                    if (response.toLowerCase() != 'true') {
                        $('#status').hide();
                        setTimeout(3000, 6000);
                        $("#Uploading").hide();
                        $("#fuCondition").show();
                    }
                    else if (response.toLowerCase() == 'false')
                        $('#status').html('error!, file not saved');
                    else
                        $("#status").html(response);
                }
            });

How to set the autosubmit to false, so that the plugin dsnt take defualt values of textbox? some links will be cool Hmmm | :|

modified on Thursday, April 21, 2011 8:42 AM

AnswerRe: ajaxupload Pin
Not Active21-Apr-11 2:12
mentorNot Active21-Apr-11 2:12 
Questionjquery grid paging and textbox event Pin
fififlowertot17-Apr-11 23:03
fififlowertot17-Apr-11 23:03 
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 
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 

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.