15,121 Topics
| |
hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE] | |
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 … | |
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 … | |
What is closure in javascript and why we used clousers in javascript. | |
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.. | |
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 | |
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 | |
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") { … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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", … | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
hi how can i disable the close button on IE using JAVASCRIPT??? any code for doing this?? | |
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();'> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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? … | |
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 |
The End.