52,566 Archived Topics
Remove Filter ![]() | |
*** [code]form.myTextBox.value[/code] [code]document.getElementById("myTextBox");[/code] Web Development javascript | |
Hi I am working on a little project I'd like to call post database and I got a little problem. when user clicks a page number, I bring html content from server and add it to page. And I can see the new content on the page. But if new … Web Development javascript | |
:) this page name is search.php which gets siteID from the databse and show in LISTBOX. [CODE] <form action="site_report.php" method="post"> <?php $con = mysql_connect("localhost","xxxx","xxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("onm", $con); $query="SELECT SiteId FROM SitePInfo WHERE Region='Central 1' "; $result = mysql_query ($query); echo "<select … | |
I have a webpage that is passed a string: [code] http://www.mywebsite.com/gallery.php?gallery=Sand_&_Surf [/code] Using the GET method, I am trying to do this: [code=php] $gallery = $_GET['gallery']; [/code] I want to store "Sand_&_Surf" in the [ICODE]$gallery[/ICODE] variable. From there, I do a database query and display all the paintings that are … | |
Basically, I have a bunch of input rows, each with id in the form of something like.. item:characteristics:age or item:setting:type1:blah. It's kind of like going down folders to get to the item I want. So as you can see in the code, I am splitting each id and trying to … Web Development javascript javascript-jquery | |
Hi All, This is my first post here... I'm developing an asp.net app and one of the requirements is to send an email to customers with quotation details. In the past (VB6 app) I've done this by creating a Word doc from a template and emailing it as an attachment. … Web Development asp.net | |
Hi all, Actually i want to two link in my page using ajax. Let me explain the problem: Like my site have three page in which about me, contact me and personal info are three page . All these three page are connected with database and fetching some information from … Web Development javascript | |
Hi, Anyone can help me?..must be easy for most of you. instead of just displaying data from the database in a table, i want to make it varies..some in textbox, some in text area. this is my code: [code=php]<?php $query= mysql_query(" SELECT * FROM office WHERE officeID='" . $_GET['officeID'] . … | |
I have 3 textboxes names myTextBox1 myTextBox2 myTextBox3 onblur i want to check if the value of the checkbox is true. I have a function in my js file. [code] function isNumeric(myString) {.......} [/code] In my JSP file i write; [code] onblur="isNumeric(X)" [/code] I wrote everything and it does not … Web Development javascript | |
can sombody give me a great example to make a connection php - mysql ( oop - best practice ) ? [ICODE]<?php /* Database Connection */ class db { private $db['host']='localhost'; private $db['user']='root'; private $db['pass']=''; private $db['name']='build'; public function connect($db['host'],$db['user'],$db['pass']) { $db['connect'] = mysql_connect($db['host'],$db['user'],$db['pass']); if (!$db['connect']) { printf("Cannot connect to … | |
i have this code, im using jquery which im not very familiar and i need help please:D [code] <html> <head> <title>Select and drag?</title> <style type='text/css'> body,html { color:#333; font-family:Calibri; font-size:11px; } .panel {float:left;width:200px;margin:20px;} ul { list-style-type:none; border:1px solid #999; background:#ccc; padding:20px; min-height:150px; width:100px; } li { display:block; border:1px solid #999; … Web Development javascript mysql php | |
hello smartheads! I am currently investigating the extent of adoption of mono by the different flavours of linux OS. I am aware that opensuse and ubuntu are favourably disposed to mono but what I cannot ascertain is wheher RedHat linux has adopted/implemented mono. I keep getting conflicting reports:confused: . I … | |
Hello, This is a JavaScript/PHP question so I will go ahead and post it here. I would like to know if it is possible to access (in a PHP class) a value/variable that has been returned by a JavaScript function. The function is in external .js class. Here what I … Web Development javascript php | |
Hi, Is there a simple control I can use with ASP.NET to display an unbound list with multiple columns (like the ListView control in VB6.) It seems that you can use the GridView. but it seems really complicated to populate (with unbound data.) Can you use the ListBox to do … | |
I have a SQL Query build as a string but i cant seem to pass it into to the <cfquery> But it does not work any one can help me? [ICODE] <cfif ISDEFINED ('member')> <CFSET SQL = "SELECT * FROM precontract "> <CFSET SQL_Coubr = 0 > <cfif form.member neq … Web Development coldfusion | |
I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement. ===================== PHP CODE ===================== [CODE] <?PHP $webResults = $response->getElementsByTagName($prnt0); if ($webResults->length<>0) { foreach($webResults as $value){ $title = $value->childNodes->item($child1)->nodeValue; } } ?> [/CODE] Need the title childnode and … Web Development api google-api php xml | |
I have a multiline textbox on my form. It is filled on load with content from a database. The user then manipulates this data, and it needs to be updated on the database. I have everything working except for getting the changed value of the textbox. In the on_click event … Web Development asp.net | |
hi this is a form.php [CODE=html]<html><body><font face=Arial size=2> <form method="post" action="contact.php"> <table bgcolor=#ffffcc align=center> <tr><td colspan=2><strong>Contact us using this form:</strong></td></tr> <tr><td>Department:</td><td><select name="sendto"> <option value="info@mycompany.com">General</option> <option value="support@mycompany.com">Support</option> <option value="sales@mycompany.com">Sales</option> </select></td></tr> <tr><td><font color=red>*</font> Name:</td><td><input size=25 name="Name"></td></tr> <tr><td><font color=red>*</font> Email:</td><td><input size=25 name="Email"></td></tr> <tr><td>Company:</td><td><input size=25 name="Company"></td></tr> <tr><td>Phone:</td><td><input size=25 name="Phone"></td></tr> <tr><td>Subscribe to<br> mailing list:</td><td><input type="radio" … Web Development php | |
Hi, guys I am here again. How are you? As always, I have a dificult problem.Now I have two radionlistbuttons and when I click in the first i need to put a value in a textbox and when i click in the order i need to put another value in … Web Development asp.net | |
Well im trying to get my form to post data to a php file and get back the result. For some reason its not calling mail.php, but instead it just puts all the post data in the current url like [code]somesite.com/index.php?id=value&id=value..etc[/code] instead of [code]somesite.com/[B]mail.php[/B]?id=value&id=value..etc[/code] here is the ajax code [code=javascript] … Web Development caching javascript xml | |
i just want to compare two dates both are in two text boxes in formate of dd/mm/yyyy how can i do this Web Development asp.net | |
I have a SQLDataSource that has an XML string as its data value. I want to blast out the raw XML to the webpage. How do I do that? Thanks in advance for any help or assistance. | |
Hi all.. really need a help. this is looks easy peasy but I can't solve it :( I want to make a link from lesson ID to a details of the selected lesson ID. [icode]<td> "<a href='details.php?lessonID=". $lessonID ."'> </a>" </td>[/icode] when I run the coding the following error appear … Web Development php | |
Hi all, I have a web app that is used in a number of countries, including ones such as Brazil, where the comma is used as a decimal separator. This is causing problems with my SQL queries, as it is trying to update a number field with "0,013" when it … | |
is it possible to use the xmlHTTP.responseText in any other java function, after execuation of stateChanged() function??? example in ajax... [ICODE] function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var result = xmlHttp.responseText if (result.length=="0"){ var task = "do"; //i want to use "task" in other js function return task; } … Web Development javascript xml | |
I was helping a friend fix some issues with her iPhone connecting to a JavaScript-heavy (and buggy) site. Long story short, her iPhone cannot type brackets ([]), and I need another way of getting the first element in an array. I thought there might be a javascript function like first() … Web Development iphone javascript | |
hiya, I'm very new to how javascript works and have inherited a website that contains a form that uses the calculate total function...which only works in IE. I've searched all over the net trying to find a solution to get this working across all browsers but not having much luck … Web Development javascript | |
While I have hundreds of draggables, the performance is very dramatical. So I want to hear from you if its possible to write code around it. Have you devs a solution to create a draggable on the mousedown event? The problem I face now, is: that I can create on … Web Development html-css javascript javascript-jquery | |
im trying to get the username of the personal profile. the url is example.com/theusername/index.php the "theusername" i want to make into a variable. How do i do that? i want the variable to be called "theusername" so how do i make that into a variable? does anyone know? with php … Web Development php | |
I need help Im trying to get a form to work with PHP and it doesnt seem to be working. I fill out the form and click submit. It changes to a blank white screen not displaying the thank you page or email the form fields. Any ideas? Thanks [code] … | |
[B]just a small query... how to get User's login time and logout time...??? as well as how to know whether particular user in Logged in out..?? Thnx[/B] Web Development php | |
![]() | Greetings, I'm not a very advanced programmer at all. I found a piece of code that helps me out a lot at [url]http://www.codelifter.com/main/javas...lideshow2.html[/url]. It allows an image to crossfade into another, into another, etc. I'd like to be able to crossfade an image, with a text caption underneath it, to … Web Development flash javascript perl web-browser web-server |
hi, i am picking up js for form validation. does anybody know how i can add a little check (a tiny image) to the textbox if the content is passed ... and a cross mark maybe if the textbox content failed. it would be great if someone may just shoot … Web Development html-css javascript xml | |
I have reduced the problem to the smallest code required to reproduce it. It consists of a menu using an unsorted list <ul> in my MasterPage.master file with some css in the stylesheet.css (there are images referenced in the code, but not required to see the problem). Here is what … | |
I have a site with SSL and am getting some very strange behavior when trying to go from https to http. In its most basic form, the problem is if I redirect from an https page to a different fully-qualified url such as [url]http://domain.com/sample.aspx[/url], the redirect actually goes to [url]https://domain.com/sample.aspx[/url]. … Web Development asp.net | |
I would like some help with a small issue... I have an html menu that I use on all my web pages, hence it is in my masterpage.master web page. The problem is that when a user clicks a menu choice I need to inject id="current" into the <LI> element... … | |
could u pls help me out to create one databse inside another databse using PHP , MySQL. is it possible?? | |
I recently updated our servers to CF 8.0.1 and now none of my AJAX code works. I checked the XHR response in Firebug and instead of returning the requested data, it returns the HTML code for my site's home page. All of this was working before the update and I … Web Development coldfusion | |
Hi, I am new to MYSQL stored procedure. Getting problem in SP execution through PHP. How can we execute multiple procedures using mysql and php. I made connection using mysql_pconnect("host", "user", "pwd", 1, 131072); and have 3 procedures one for select, insert and update. If i am going to execute … | |
Hi, What happens? You type something in a text field, and based on the input, you should get some suggestions. Now, the problem is that I can get the info out of my database with PHP, but now I need to be able to use the PHP array in javascript. … Web Development javascript php | |
Hi all: I have this slight problem, where I have a list of months with amounts that need to be updated, but I always need to enter "0.0" in order for my field to be updated properly; but if I just enter "0" it doesnt take it and remains empty... … Web Development php | |
any one please help me, i want to know how to swap two variables say, a and b with out using a third vaiable Web Development php | |
Deal all, I have developed a database for a school and when some one select the student ID it shows all the information related to that particular data, any one can tell how I can purt a print and export excel button on the result page which prints the report … Web Development php | |
Hi All, Alright i am developing an application which is using ajax. First of all there is a select box which is getting populated from db for a category ... now user can select one or more values from first select box .... and there are four buttons for different … Web Development javascript | |
I am very new to this so I apologize if I get confusing with my post. I have a database that I access through CPanel then through phpMyAdmin. I am running a query to find out when the last login was made by users and I am getting values such … ![]() | |
Hi All, Without getting into too much history on the why, I came into a situation where I needed to create a function to get various properties of !DOCTYPE so that other functions could adjust to work properly with certain DOCTYPEs (Strict, Transitional, etc.). I have tested the function in … Web Development javascript | |
Hi, How I can Export PHP Result which shown in table to excel using a Export Button on the Same Page. [B][COLOR="Green"]:) [/COLOR][/B] Web Development php | |
In facebook or in some other websites,when adding a person as a friend,just after clicking the link(ADD AS FRIEND),it appears a small window with information of the person you want to add to ur friend list. how can i do like this? which language is used in that...up to now … |
The End.