POLALA.COM
welcome to my space
X
Search:  
Welcome to:polala.com
NAVIGATION - HOME
JavaScript help needed
Published by: cfz 2009-01-07

  • i need to upload files to the server without the page being reloaded. once the file has been upload the user needs to be notified that it has been uploaded.

    i need the image to be assigned to a variable name and then stored on the server for use on other pages. this is the code i have used to send the image to the upload page



    the code for my submit button is





    should this be working or have i gone wrong somewhere along the line.


  • can the Ext.Ajax.request be used as a stand alone or do i need the ext.lib to use it.
    Site stolen with Javascript, help needed::
    2 posts - Last post: Oct 19, 2004Hello, everybody. A client of mine has a problem with some guy that has taken all his site and translated it to Chinese, getting all the
    http://www.webmaster-talk.com/coding-forum/17072-site-stolen-with-javascript-help-needed.html
    HOME
    Freelance Project! Part Time Job! Permanent Job! | Expert PHP and ::
    Expert PHP and Javascript help needed to troubleshoot format and validation on form by I need someone who is an expert with JavaScript, Ajax and PHP.
    http://www.102freelancejob.com/javascript/expert-php-and-javascript-help-needed-to-troubleshoot-format-and-validation-on-form-by-esa2008/
    HOME

    I have looked at using this but i dont really no how it works i got this code but it did not seem to do anything.

    Ext.Ajax.request({
    form: 'file-form',
    url: '/myUpload.do', // Optional if the form has the correct action attribute
    params: { // Optional params that are temporarily added as hidden
    type: 'jpg'
    caption: 'A picture'
    },
    isUpload: true // Optional if the form has enctype="multipart/form-data"
    The Engineered Boulderer » Blog Archive » Help needed with the ::
    May 9, 2005 Help needed with the javascript event model in Internet Explorer. My Super Archive plugin is quite dependent on javascript and uses
    http://jonas.rabbe.com/archives/2005/05/09/help-needed-with-the-javascript-event-model-in-internet-explorer/
    HOME
    success: function() {
    alert('File uploaded');
    },
    failure: {
    alert('File could not be uploaded');
    }
    });

    as i have not used this code before i am unsure as to where it will go and i placed it after my submit button which the code for it looks like this

    Image 1




    it might be a bit of a stupid question but i am trying to teach myself how to do this.


  • You can't upload files using XMLHttpRequest (that would be a security risk).

    The only way to upload files without reloading the page is to post the form to a hidden IFRAME.

    ps. Ext has support for this build into Ext.Ajax.request().


  • i have now went down the road of using iframes to upload the image. my page still reloads as i am still using the submit button. could i get round this by using javascript to submit the from the iframe. i would have to write my own function to handle the passing of the file to the upload.php page.

    is it possible to do it in this way?


  • You could look at the code in Ext.Connection.doFormUpload

    or you could google (http://www.ajaxf1.com/tutorial/ajax-file-upload-tutorial.html)...





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market

  • how can i get sbc yahoo dsl to stop attacking my beloved netscape 4 7
  • panasonic kxtg2481b cordless phone remote retrieval of answering machine calls
  • how a camera phone works
  • canadian traffic tickets defintion for driving without due care and attention
  • tie a computer game to exercise equipment
  • java on mobile phones
  • computer hardware flat screen monitors
  • outlook web access configuration sent items feild chooser
  • outdoor web camera
  • how do i fix the computer
  • translation into squamish language
  • how do s hack into personal computers via the internet
  • dmca terms

  • battery adapters
  • windows xp profesional asking me for password to access resources
  • traceroutes
  • problem posting question
  • looking for an insurance company
  • international text messaging
  • corporate computer statistics
  • recommendation for ide mobile rack
  • legal tax implication of holding a relative 39 s money in bank account
  • roof ventilation dilemna
  • pros cons of asp or hosted software usage vs purchased software
  • need list of current top selling dvd players for europe and us markets
  • public domain web site dedicated to california law
  • enabling a firewall
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about JavaScript help needed , Please add it free.
     Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 polala.com        Site made:CFZ