15,120 Topics

Member Avatar for
Member Avatar for rainny

Hi, Do you guys have any idea on how to implement a page which contains a lot of buttons, then after click the button will show the table? After onclick event, then show the tables? And the property inside the table also will consists of the onclick event. Which able …

Member Avatar for link_umer
0
67
Member Avatar for Labdabeta

I need to know where to find a tutorial on javascript assuming javascript is what I need. I want to make a dynamic website with buttons that can toggle visibility of text. Really I just need something like a link that makes a bunch of text appear then disappear but …

Member Avatar for Fest3er
0
372
Member Avatar for Pravinrasal
Member Avatar for Airshow
0
349
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
277
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
321
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
70
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
193
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
490
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
163
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
142
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

The End.