52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Xessa

*** [code]form.myTextBox.value[/code] [code]document.getElementById("myTextBox");[/code]

Web Development javascript
Member Avatar for Xessa
0
86
Member Avatar for yilmazhuseyin

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
Member Avatar for yilmazhuseyin
0
366
Member Avatar for furqan219

:) 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 …

Web Development pdf php
Member Avatar for furqan219
0
290
Member Avatar for VernonDozier

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 …

Web Development html-css php
Member Avatar for VernonDozier
0
111
Member Avatar for crimsondarkn

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
Member Avatar for Airshow
0
298
Member Avatar for David Mac

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
Member Avatar for sknake
0
93
Member Avatar for gagan22

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
Member Avatar for yilmazhuseyin
0
126
Member Avatar for tulipputih

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'] . …

Web Development display php
Member Avatar for Atli
0
154
Member Avatar for Xessa

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
Member Avatar for itsjareds
0
100
Member Avatar for adamramadhan

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 …

Web Development mysql oop php
Member Avatar for adamramadhan
0
136
Member Avatar for zido85

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
Member Avatar for Josh Connerty
0
2K
Member Avatar for jamello

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 …

Web Development asp.net c# redhat
Member Avatar for jamello
0
350
Member Avatar for Gary888

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
Member Avatar for Gary888
0
2K
Member Avatar for danielgee

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 …

Web Development asp.net listview
Member Avatar for danielgee
0
156
Member Avatar for moiseszaragoza

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
Member Avatar for gdmprog1
0
191
Member Avatar for lonestar23

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
Member Avatar for ShawnCplus
0
2K
Member Avatar for thacravedawg

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
Member Avatar for thewebhostingdi
0
203
Member Avatar for furqan219

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
Member Avatar for Atli
0
206
Member Avatar for SID.SIL

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
Member Avatar for thewebhostingdi
0
150
Member Avatar for blindkilla

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
Member Avatar for Airshow
0
333
Member Avatar for pupilstuff

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
Member Avatar for thewebhostingdi
0
119
Member Avatar for lagyossarian

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.

Web Development asp.net xml
Member Avatar for thewebhostingdi
0
53
Member Avatar for tulipputih

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
Member Avatar for navi17
0
243
Member Avatar for StNick

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 …

Web Development mysql php
Member Avatar for StNick
0
107
Member Avatar for servis

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
Member Avatar for essential
0
445
Member Avatar for elanorejoseph

i always get some problem when i try to create a edit link and corresponding page. now the value to be edited are not shown in the edit form, and i do want to return to the same page where i have selected value to editted .can any one help …

Web Development php
Member Avatar for Atli
0
120
Member Avatar for itsjareds

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
Member Avatar for essential
0
161
Member Avatar for fizmo

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
Member Avatar for fizmo
0
140
Member Avatar for DelphiLynx

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 …

Member Avatar for zido85
0
263
Member Avatar for SKANK!!!!!

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
Member Avatar for SKANK!!!!!
0
203
Member Avatar for wilbery

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] …

Web Development html-css php
Member Avatar for Josh Connerty
0
163
Member Avatar for nish123

[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
Member Avatar for Josh Connerty
0
3K
Member Avatar for schwarznavy

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 …

Member Avatar for FeralReason
0
1K
Member Avatar for k2k

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
Member Avatar for oakleymk
0
115
Member Avatar for kkemerait

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 …

Web Development asp.net vb.net
Member Avatar for sknake
0
87
Member Avatar for a496761

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
Member Avatar for sknake
0
153
Member Avatar for kkemerait

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... …

Web Development asp.net html-css
Member Avatar for sknake
0
253
Member Avatar for nikhita

could u pls help me out to create one databse inside another databse using PHP , MySQL. is it possible??

Web Development mysql php
Member Avatar for ShawnCplus
0
103
Member Avatar for cmhampton

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
Member Avatar for cmhampton
0
103
Member Avatar for sunilsinha

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 …

Web Development mysql php
Member Avatar for sunilsinha
0
117
Member Avatar for Kligham

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
Member Avatar for Kligham
0
185
Member Avatar for websurfer

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
Member Avatar for Atli
0
269
Member Avatar for elanorejoseph

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
Member Avatar for elanorejoseph
0
102
Member Avatar for furqan219

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
Member Avatar for furqan219
0
106
Member Avatar for elanorejoseph

Can any one suggest a good book for php learning

Web Development php
Member Avatar for elanorejoseph
0
91
Member Avatar for jyotiu

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
Member Avatar for essential
0
170
Member Avatar for jugg3r

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 …

Web Development cpanel php
Member Avatar for diafol
0
2K
Member Avatar for oakleymk

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
Member Avatar for oakleymk
0
384
Member Avatar for furqan219

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
Member Avatar for chrishea
0
559
Member Avatar for mrcniceguy

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 …

Web Development html-css php
Member Avatar for Atli
0
89

The End.