Click here to Skip to main content
15,913,341 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Automation server can't create object Pin
WoutL8-Feb-11 8:32
WoutL8-Feb-11 8:32 
GeneralRe: Automation server can't create object Pin
Ali Al Omairi(Abu AlHassan)8-Feb-11 21:18
professionalAli Al Omairi(Abu AlHassan)8-Feb-11 21:18 
GeneralRe: Automation server can't create object Pin
WoutL8-Feb-11 21:55
WoutL8-Feb-11 21:55 
AnswerRe: Automation server can't create object Pin
Pravin Patil, Mumbai25-Feb-11 3:14
Pravin Patil, Mumbai25-Feb-11 3:14 
GeneralRe: Automation server can't create object Pin
Ali Al Omairi(Abu AlHassan)25-Feb-11 7:43
professionalAli Al Omairi(Abu AlHassan)25-Feb-11 7:43 
GeneralRe: Automation server can't create object Pin
Xandip7-Apr-11 3:11
Xandip7-Apr-11 3:11 
GeneralRe: Automation server can't create object Pin
Ali Al Omairi(Abu AlHassan)7-Apr-11 5:20
professionalAli Al Omairi(Abu AlHassan)7-Apr-11 5:20 
Questionformular-Database save Pin
Pierre besquent7-Feb-11 3:50
Pierre besquent7-Feb-11 3:50 
Hi guys,nice to meet you all,
i create a .js file which contains a formular:
Ext.onReady(function(){
var bd = Ext.getBody();
var text1=new Ext.form.TextField({
                        id :"Name",
                        fieldLabel: 'Name',
                        name: 'first',
                        width:190})
var text2=new Ext.form.TextField({
                        id :"CarteIdentité",
                        fieldLabel: 'N°CIN',
                        name: 'last',
                        width:190})
var text3= new Ext.form.TextField({
                        id :"Matricule",
                        fieldLabel: 'Matricule',
                        name: 'Matricule',
                        width:190})
var field = new Ext.form.FieldSet({
                title: 'Contact Information',
                autoHeight: true,
                defaultType: 'textfield',
                items: 
             [text1,
               text2,
               text3]
        })
 var form = new Ext.form.FormPanel({
 defaultType: 'textfield',
 bodyStyle:'padding:5px 5px 0',
 //layout:'absolute',
 items :field
 });
 var window = new Ext.Window({
        width: 500,
        height:300,
        minWidth: 300,
        minHeight: 200,
        layout: 'fit',
        plain:true,
        bodyStyle:'padding:5px;',
        buttonAlign:'center',
        items: form,
	buttons: [{
            text: 'Valider',
            handler : function ()
            {
                Ext.Ajax.request({
                     url: "../Application.aspx"
                    ,params: {Action :'SaveData',
                              Name : document.getElementById("Name").value,
                              CarteIdentité : document.getElementById("CarteIdentité").value,
                              Matricule : document.getElementById("Matricule").value}
                    ,method: 'post'
                    ,success: function(response, opts)
                    { Ext.MessageBox.alert('Successful!!!!!!!!!');}
                    ,failure: function(){Ext.MessageBox.alert('Erreur');}
                });
            }
            }]
 })
  window.show();
  // form.render(document.body);

});

I developed with EXT.
when i run the project allways the faailure condition is declared
what is the problem?
I wanna know that the data i fill in the formular will be save in a database.I create .mdf database which contains a table (Name,CIN,Matricule)
How cani do that?
ty
AnswerRe: formular-Database save Pin
Sunasara Imdadhusen16-Feb-11 23:06
professionalSunasara Imdadhusen16-Feb-11 23:06 
QuestionValidating the input type "file" data. - Is this the right forum? please Pin
Douglas Kirk4-Feb-11 11:23
Douglas Kirk4-Feb-11 11:23 
AnswerRe: Validating the input type "file" data. - Is this the right forum? please Pin
Manfred Rudolf Bihy6-Feb-11 8:06
professionalManfred Rudolf Bihy6-Feb-11 8:06 
GeneralRe: Validating the input type "file" data. - Is this the right forum? please Pin
Douglas Kirk6-Feb-11 8:34
Douglas Kirk6-Feb-11 8:34 
GeneralRe: Validating the input type "file" data. - Is this the right forum? please Pin
Manfred Rudolf Bihy6-Feb-11 9:00
professionalManfred Rudolf Bihy6-Feb-11 9:00 
GeneralRe: Validating the input type "file" data. - Is this the right forum? please Pin
Douglas Kirk6-Feb-11 9:23
Douglas Kirk6-Feb-11 9:23 
GeneralRe: Validating the input type "file" data. - Is this the right forum? please Pin
Manfred Rudolf Bihy6-Feb-11 21:33
professionalManfred Rudolf Bihy6-Feb-11 21:33 
QuestionThoughts on a Javascript playground? Pin
Jerry Evans4-Feb-11 6:10
Jerry Evans4-Feb-11 6:10 
AnswerRe: Thoughts on a Javascript playground? Pin
DaveAuld4-Feb-11 8:03
professionalDaveAuld4-Feb-11 8:03 
GeneralRe: Thoughts on a Javascript playground? Pin
Manfred Rudolf Bihy6-Feb-11 7:40
professionalManfred Rudolf Bihy6-Feb-11 7:40 
AnswerRe: Thoughts on a Javascript playground? Pin
cjoki4-Feb-11 9:59
cjoki4-Feb-11 9:59 
AnswerRe: Thoughts on a Javascript playground? Pin
Monjurul Habib1-Mar-11 8:23
professionalMonjurul Habib1-Mar-11 8:23 
QuestionNavigation from a PHP form Pin
MacRaider44-Feb-11 3:33
MacRaider44-Feb-11 3:33 
AnswerRe: Navigation from a PHP form Pin
cjoki4-Feb-11 10:04
cjoki4-Feb-11 10:04 
GeneralRe: Navigation from a PHP form Pin
MacRaider44-Feb-11 11:43
MacRaider44-Feb-11 11:43 
GeneralRe: Navigation from a PHP form Pin
cjoki4-Feb-11 18:26
cjoki4-Feb-11 18:26 
GeneralRe: Navigation from a PHP form Pin
MacRaider48-Feb-11 6:58
MacRaider48-Feb-11 6:58 

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.