15,117 Topics

Member Avatar for
Member Avatar for shahbaz13

Hello everyone, I want to make an Twitter like AJAX post viewer like if we click on any link, it opens in a new sliding div like Twitter's... Plzz. Help... Thanks in Advance..

Member Avatar for shahbaz13
0
55
Member Avatar for tqmd1

Dear Coders var amount1=12,345,678.10 var amount1=87,246,125.00 I want to sum amount1+amount2 as 99,591,803.10 Please help

Member Avatar for Troy III
0
258
Member Avatar for manc1976

Hi I have a form that amends current values in a MySQL database. This works fine in FireFox, but does nothing in IE when you click on the Save button. [CODE]<input type="button" value="SAVE" onclick="submit();" />[/CODE] Is what I am using What am I doing wrong? Thanks

Member Avatar for Troy III
0
99
Member Avatar for ferrari77

I've simplified it quite a bit but it's still not working. PHP: [CODE] <?php $a = array('data' => 'Hello'); echo json_encode($a); ?> [/CODE] Here's the JQuery Code: [CODE] function getCityAndState(data, location) { var jsonString = {"zipCode": data}; var outR = outputResults alert("JSON String:" + jsonString.zipCode); if (location === "living") { …

Member Avatar for Airshow
0
127
Member Avatar for ferrari77

Problemo: My PHP Script (it's just a snippet) is not picking up my JavaScript code. It doesn't even see the zip code field. It says it doesn't exist: [CODE] <?php $zipCode = $_GET[zipCode]; //echo "data:".$zipCode; $json = "{data:.$zipCode}"; echo $json; //echo json_encode(array("data"=>$zipCode)); //print ("Zip Code:".$zipCode); ?> [/CODE] I'm passing it …

Member Avatar for diafol
0
320
Member Avatar for MJRdz

Hi, I have some problems with a script, look, i have an UltraWebGrid and I want it to give me a variable when i choose a row, that's ok, the problem is that I have an input buttom disabled and a label, I want the buttom to become enable and …

Member Avatar for stbuchok
0
195
Member Avatar for naveedqadri

Hi Experts, Thanks for time and help. I am using activepdf server, webgrabebr and activepdf toolkit to convert my html to PDF. CSS i am using is working fine, BUT When i convert into PDF , the resulting PDF has no real HTML, no colors coming out. It looks CSS …

Member Avatar for naveedqadri
0
218
Member Avatar for naveedqadri

Dear Expert, Thanks for helping me. I am facing problem while deleting a company from my application. When I click on delete ([COLOR="Red"]on comp1.aspx[/COLOR]) it direct to other Page ([COLOR="red"]company_delete.aspx[/COLOR]) when i put password as in databse , Instead it delete it gives error of wrong password. ([COLOR="red"]company_delete_save.aspx[/COLOR]). I mean …

0
69
Member Avatar for aashishn86

[code] var weekend = [0,6]; var weekendColor = "#e0e0e0"; var fontface = "Verdana"; var fontsize = 1; var gNow = new Date(); var ggWinCal; isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false; isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false; Calendar.Months = ["January", "February", "March", "April", "May", "June", …

Member Avatar for Prashantchavan0
0
169
Member Avatar for mus123

i am doing a project that is developing photographer website , can you give me tips or advice regarding developing website for a photographers what sort of thing i should look out for and how can i make this website different to other photographers website. thank you i will be …

0
58
Member Avatar for eawade

This is driving me crazy. I wrote a php api file and stored it on my server. When I run the url directly the JSON results are perfectly echoed to the screen, with no problem. However, when I attempt to access the results from another domain (e.g. Cross domain) I …

Member Avatar for Airshow
0
135
Member Avatar for PF2G

Hi, I have a registration form and several codes for validation but i can't join them. regsitration form: [CODE] <?PHP include 'topo.php'; ?> <!-- content --> <div class="indent"> <h2> Inscrição </h2> <form action="envia.php" method="post" onsubmit="return validar()" > <fieldset> <legend> ALUNO </legend> <br/> <div class="field"><label>Username*: </label><input type="text" size="30" name = "username"/></div> …

Member Avatar for hericles
0
254
Member Avatar for tqmd1

Dear Coders I have following codes [CODE]<html> <head> <body> <center> <script language="JavaScript"> function checkpostal(){ var re=/^\D{A-Z}$/ if (myform.myinput.value.search(re)==-1) { alert("Good") }else{ alert("Bad") } } </script> <form name="myform"> <input type="text" name="myinput" size=15> <input type="button" onClick="checkpostal()" value="check"> </form> </center> </body> </html> [/CODE] With Onclick, I want to test input through regular expression …

Member Avatar for hielo
0
167
Member Avatar for sanityhien

Hello I'm new with AJAX and I'm trying to read an XML file with Javascript. It's supposed to display an alert message but it's not. What's wrong with my code? Thanks! :) HTML [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>XML Exercise</title> <script type="text/javascript" src="xmlExercise.js"></script> </head> <body onLoad="getData()"> </body> </html>[/CODE] Javascript …

Member Avatar for Troy III
0
300
Member Avatar for jain1.anuj
Member Avatar for Mayank23

i need help, i want to pass a value to javascript from php and it keeps giving me "null". i want to get what picture the user selected. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db("ajax"); $query="SELECT * FROM xxxx"; $result= mysql_query($query); while($row= mysql_fetch_array($result)){ $rating=$row['ID']; echo "<img src =\"" .$row['filepath']."\" /><br/><a id=".$row['ID']." value='rating' onclick='getrating();'> …

Member Avatar for stbuchok
0
192
Member Avatar for Stickie

Hi, I'm not familiar with the AJAX way of doing this, hence why I'm posting this. I've got this form that needs to check if the user input is already in the database, if this isn't the case it should disable the submit button and display an error depending on …

Member Avatar for fobos
0
489
Member Avatar for tqmd1

Dear Experts I have following codes, it works fine to sum. but when I enter these values 2100.49+100.20 then it says 2,200.6,899,999,999,996 insted of 2,200.69. How to overcome this problem. Please help [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="language" content="english"> <meta …

Member Avatar for stbuchok
0
92
Member Avatar for theakshay

Hey guys, i have a javascript code for the "state-city" selection dropdown in my form. Now i have to provide an option for the user to add a state or add a city if it is not already present in the dropdown. I'm using php and mysql. Please help. Thanks …

Member Avatar for cereal
0
190
Member Avatar for peterpa

HI , CAN ANY ONE TELL ME HOW CAN I UPLOAD A FILE TO MY WEB SERVER WITH OUT USING <INPUT TYPE="FILE"/> , I JUST WANNA USE I BUTTON TO UPLOAD A FILE , AND WHENEVER I CLICKED ON THAT BUTTON I WANNA A FILE WHICH IS ON MY SYSTEM …

Member Avatar for diafol
0
235
Member Avatar for rad1964

I have a form, EWMS.php, that is a score sheet for a dart league. In this form I first have a user choose a division. Ajax returns that choice via MySQL database and PHP. Upon choosing a division that also fills in the next drop down choices of team, which …

Member Avatar for rad1964
0
180
Member Avatar for Tcll

anyone mind lending a hand :/ basically, what I have is a code containing 2 iframes inside a div. what I'd like to do is refresh one of the iframes when it's page recieves an update from another user. perhapse I could load the page on the document load, and …

Member Avatar for Tcll
0
162
Member Avatar for softDeveloper

Dear all, I'm passing a javascript String variable varname in a form inside a jsp to another page. [CODE] <form name="form1" action="nextpage.jsp" method="post "> <input type="hidden" name="varname" value="teste" /> <input type="button" value="button" onClick="document.form1.varname.value = function(window);"> <input type="submit" name="button" value="test1" /> </form> [/CODE] When I get the String in the next …

Member Avatar for softDeveloper
0
197
Member Avatar for minitauros

I would like to execute some Javascript after the document has loaded and even after the document.onload functions have been executed. Situation: I'm loading a text-edit field through ajax. When the user submits the form, he is redirected to a PHP file. That PHP file redirects him back to "file.php" …

Member Avatar for minitauros
0
103
Member Avatar for kaosjon

Hi, i am not sure whether this is in the right section or not but i am building an file upload site and want to be able to scan the files on upload for viruses etc.. How would i be able to do this? Any ideas to get me started? …

Member Avatar for Airshow
0
104
Member Avatar for jacob21

I need Javascript validations of : 1. 10 Digits cell number does not start with 0 2. Valid E Mail Address and 3. 6 Digits Pincode

Member Avatar for Airshow
1
141
Member Avatar for Buffalo101

Hello and Merry Christmas to all! Can anyone explain the correct behavior of a web application: what PHP is used for, what JavaScript is used for? For now, I want to make a simple page with radio buttons, drop down lists and text areas. Some will have data from the …

Member Avatar for diafol
0
244
Member Avatar for sachinmaster

I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under …

Member Avatar for sachinmaster
0
133
Member Avatar for Martin C++

Hello, I want to validate this form and display error right next to the input field. [code=html] <div id="regForm"> <form action="register.php" method="POST" onsubmit="return validate(this);"id=registration" name="registration"><p> Username: <input type="text" name="username" id="username_reg" /><br /> Password: <input type="password" name="password" id="password_reg" /><br /> Repeat password: <input type="password" name="repeatPassword" id="repeat_reg" /><br /> Email: <input type="text" …

Member Avatar for Airshow
0
131
Member Avatar for maxxxx

I have this alert box that I would like to add a sound after you click ok. Can this be done to the script I have here? Thanks [CODE] //<![CDATA[ var alertmessage="Well this the last and finale Assignment for the JavaScript Level One Course" //Alert only once per browser session …

0
73

The End.