Click here to Skip to main content
15,891,981 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Web development Pin
Richard MacCutchan10-Sep-13 21:39
mveRichard MacCutchan10-Sep-13 21:39 
GeneralRe: Web development Pin
anne_rose16-Sep-13 17:21
anne_rose16-Sep-13 17:21 
QuestionMultiple HttpPost method in MVC4 Pin
AghaKhan9-Sep-13 15:09
AghaKhan9-Sep-13 15:09 
QuestionWhat do you think? Pin
C.CoderCreator9-Sep-13 12:56
C.CoderCreator9-Sep-13 12:56 
AnswerRe: What do you think? Pin
AghaKhan9-Sep-13 16:05
AghaKhan9-Sep-13 16:05 
AnswerRe: What do you think? Pin
Richard MacCutchan9-Sep-13 21:30
mveRichard MacCutchan9-Sep-13 21:30 
QuestionDifferent criteria for Places API request Pin
Oleg Rover7-Sep-13 1:08
Oleg Rover7-Sep-13 1:08 
QuestionCombine PHP & Jquery Ajax for Upload File Pin
chandra reinhart5-Sep-13 4:42
chandra reinhart5-Sep-13 4:42 
Hello,

I'm reinhart..

Now I am trying to create program for upload file use PHP and Jquery. I want to make upload process without refreshing the page. Is there anyone has implemented this way for upload file? I need your help..

This is my code :

Form upload :
Jquery :


$(document).ready(function() {
$(document).ready(function(event) {
$('#form').click(function(event) {
var name = $('#file').attr('name');
$.ajax({
url : 'upload.php',
data: {name:name},
type: 'post',
dataType : 'json',
success : function(json)
{
alert(json)
},
error : function(){alert('error');}
});
});
});


File upload.php




When I ran the code, alert will show 'NULL', I can't catch value of temporary name. Does anyone can help me?

Regards,
QuestionIs it a good idea (on how to improve SEO) and how should I do it (using a 301 perhaps)? Pin
Joan M4-Sep-13 23:28
professionalJoan M4-Sep-13 23:28 
AnswerRe: Is it a good idea (on how to improve SEO) and how should I do it (using a 301 perhaps)? Pin
Ferdun2-Oct-13 21:56
Ferdun2-Oct-13 21:56 
QuestionUsing Textbox and dropdownlist while displaying a grid in struts2 Pin
VKey1133-Sep-13 20:34
professionalVKey1133-Sep-13 20:34 
Questionhow to use expression encoder with html5 Pin
D4Develop2-Sep-13 22:36
D4Develop2-Sep-13 22:36 
SuggestionRe: how to use expression encoder with html5 Pin
Richard Deeming3-Sep-13 2:05
mveRichard Deeming3-Sep-13 2:05 
GeneralRe: how to use expression encoder with html5 Pin
D4Develop3-Sep-13 18:10
D4Develop3-Sep-13 18:10 
GeneralRe: how to use expression encoder with html5 Pin
Richard MacCutchan3-Sep-13 21:06
mveRichard MacCutchan3-Sep-13 21:06 
Questionhow to know the web host? Pin
Jassim Rahma2-Sep-13 11:52
Jassim Rahma2-Sep-13 11:52 
AnswerRe: how to know the web host? Pin
enhzflep2-Sep-13 12:38
enhzflep2-Sep-13 12:38 
GeneralRe: how to know the web host? Pin
Jassim Rahma2-Sep-13 13:01
Jassim Rahma2-Sep-13 13:01 
GeneralRe: how to know the web host? Pin
enhzflep2-Sep-13 17:56
enhzflep2-Sep-13 17:56 
AnswerRe: how to know the web host? Pin
Richard Deeming3-Sep-13 2:04
mveRichard Deeming3-Sep-13 2:04 
QuestionAn article on chrome app/extension's Pin
C.CoderCreator1-Sep-13 13:01
C.CoderCreator1-Sep-13 13:01 
AnswerRe: An article on chrome app/extension's Pin
Richard MacCutchan1-Sep-13 20:53
mveRichard MacCutchan1-Sep-13 20:53 
AnswerRe: An article on chrome app/extension's Pin
enhzflep2-Sep-13 10:08
enhzflep2-Sep-13 10:08 
GeneralRe: An article on chrome app/extension's Pin
C.CoderCreator2-Sep-13 12:17
C.CoderCreator2-Sep-13 12:17 
GeneralRe: An article on chrome app/extension's Pin
enhzflep2-Sep-13 12:31
enhzflep2-Sep-13 12:31 

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.