52,566 Archived Topics
Remove Filter ![]() | |
can any one tell me how to get the seleted submenuitem value of menu in textbox. like foe eg this is my menu Home Course -Commerce -Science i want when i select science in menu control then textbox should me the Science. any one help me i'm apppriciate. :) thank … Web Development asp.net | |
Hi All, the following script works fine and updates with no issue, except on, wait for it..... Internet Explorer!!!!! Any advice would be appreciated. [code] <html> <head> <script type="text/javascript"> function showUser(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, … Web Development php | |
Hi every on.I new in php.I m trying to insert date from 3 dropdwon to my date table.It is working well but in table the date is showing always 00-00-0000.plz any one give me a solution.My scripts are followings: [CODE]//table -- Table structure for table `date` -- CREATE TABLE IF … Web Development php | |
in my web page i am having different hyperlinks for letter a to z and now i want to display all the details in gridview of the names starting with particular letter in my db table on clicking of hyperlink.. plz help its urgent.......... | |
Most of the times we have requirements of adding different client side validations on the web pages and the easiest way to achieve this in ASP.Net is to use the existing set of validator controls. In SharePoint when we design custom webparts which takes some data as input, we might … Web Development asp asp.net client-server sharepoint web-design web-server | |
trying to call an external ajax function to exec the php script to update a table. it is somehow not working.. it is my first time programming in ajax, please point it out if there is anything obviously wrong. thanks. [code] <html> <head> <script>myAjaxFunctions.js</script> </head> <body> <button type="button" onclick="clearT1();">Clear TableOne</button> … Web Development javascript | |
Hey guys, I was working on embedding image using the object tag with quicktime. i was succesfully embed it [COLOR="Red"]but it seems like i cannot display the playback controls (like "play","pause","stop" etc)[/COLOR]. Here's my code: [CODE] <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="478" height="383"> <param name="src" value="movie.mov" /> <param name="autoplay" value="false" /> <param … Web Development apple display javascript | |
I am thinking to make a PHP library for better syntax of PHP (in functions). Currently I feel that its too clumsy and unorganised. There are many functions without any use and many useful functionalities can be added to older ones. Like instead of learning all GD functions for common … Web Development php | |
I have a problem. In my page, there have 3 gridview. Every gridview has sub total displaying at its footer. I am able to display the sub total for each gridview at its footer. But, i want to display one more total that is grand total. The value for the … Web Development asp.net | |
Hello, I am using this script to rotate background images and it is working great HOWEVER we would like to control the order of the rotation and I am just not sure how to modify this code to do that? I have looked and tried several options but I am … Web Development javascript | |
Hi Is there any way using PHP to delete everything in the public_html directory? Or even better everything on my server? Im trying to impliment a backdoor into one of my websites as Im working with another developer I really don't trust much. Thanks | |
I m working on advertise website for that i need to select random values from the database so please help me Thanx in advance Web Development php | |
I want to select a single column from a table but cannot use "mysql_result" query. is there any other way to output the data of that specific column? Thanks in advance. Web Development php | |
I want to retrieve session value(username) from the login page. I have to verify the user by their username to make the access right control for certain page. In my application, i want to control the access right to "ViewAllProject.aspx" page. I have save the username in session in login … Web Development asp.net open-source session | |
I am passing data from a textarea to a div with javascript. The problem is the div is ignoring line breaks. [code] document.getElementById('layer1').innerHTML = document.getElementById('reply').value.replace("\n", "<br /><br />"); [/code] e.g... i entered this in the textarea test1 test5 test6 the result was in the div test1 test5 test6 the div … Web Development javascript | |
Still trying to get my head around some simple javascript issues the following works in php but not in javascript can someone point me in the right direction obviously my code is wrong. [code] if((dobyear==false) && (dobmonth==false) && (dobday==true)) { return 'noyearmonth'; } [/code] thanks Web Development javascript | |
Hello I am writing a script that will replace the src of an image when the user hovers over it. I am using jquery and regex to accomplish this and have tested it on my local server but the src of the images on the live server is different and … Web Development javascript javascript-jquery regex | |
I have been studying PHP/MySQL on and off again for the past few years and I decided the only way I was going to learn it was to create my own web application. We're going on a road trip in a few days and I got the idea to create … Web Development html-css php web-server | |
Hi I'm trying to integrate a google checkout button with a basic php variable - and am having trouble with formatting. Here is the code: [code=php] echo "<h2>" . $row['name'] ."</h2>"; echo '<form action="xxx" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_top"> <input name="item_name_1" type="hidden" value="Item"/> <input name="item_description_1" type="hidden" value="Watch Repair Service"/> <input name="item_quantity_1" … | |
The JS starts with: <script> var tblId = 'TBGenericRecs0'; var nTable = ""; then later: function mapTable(){ nTable = document.getElementById(tblId); nRows = nTable.rows.length; Firefox says nTable is not a function and the code does not work. IE sees it as a variable and it works. What's up? Is there a … Web Development javascript web-browser | |
So i have a system, and i was creating a page to input player stats. However there are 5 rows that have be inserted per game from a single form. I have the code for the form and the insert code. I was just wondering if someone could help me … Web Development php | |
I am trying to use the session start function but everytime I try to use it, it gives 2 errors: [QUOTE] Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12[/QUOTE] [QUOTE]Cannot send session cache limiter - headers already sent (output started … | |
Hey guys, I hope someone can help me with the idea behind this. I'm setting up a website in which members can have their own personal profile which displays all their information. I have 8 items that I want users to be able to make private or public. So in … Web Development php | |
hi all, i have one question about variable in JavaScript [CODE]<HEAD> <TITLE>Window Opener and Closer</TITLE> <SCRIPT LANGUAGE="JavaScript"> var newWindow function makeNewWindow() { newWindow = window.open("","","HEIGHT=300,WIDTH=300") } function closeNewWindow() { if (newWindow) { newWindow.close() newWindow = null } } </SCRIPT> </HEAD> <BODY> <FORM> <INPUT TYPE="button" VALUE="Create New Window" onClick="makeNewWindow()"> <INPUT TYPE="button" … Web Development javascript | |
hello.. i want to do custom cursor in particular place in my webpage. i have number of images when mouseover on images then cursor image change as a custom cursor. how to do ? | |
hi, i had done validation in my program...it is validating and entering the values also...the problem is if i m giving the same value which is in XML file...it is taking not showing any error...can any one check my code and suggest me the solution..2day evening is submission of my … Web Development javascript xml | |
Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php … Web Development javascript | |
Me again (Huge Project...) This is the code for my image upload, but it is not working... I also want to set some parameters such as file size and to make sure that only photos are uploaded. The tutorials on the web is quite confusing...help please. Thank you [CODE]if(isset($_POST['submitted'])) { … Web Development file-system image php | |
My membership script works fine, except I can't login, because this check.php script doesn't work. Login form action is check.php. Once I login with username and password, check.php gives me an error message "Please enter ALL of the information". The only information on login form is username and password. The … ![]() | |
In the main table there are two sub tables are there.when user click addRow button main row and also subrow should be created.i have written the code but when i click addrow alignment is missing and apart from that mainrow and subrow is not displaying properly. [CODE] <html> <head> <script> … Web Development javascript | |
[B] Hi, Actually my requirement is when i move my mouse on the link, One alert box shoulb be appear and it will count how many times i move on that link. I already written the code in javascript but it didn't reach to my requirement. Please go through the … Web Development javascript ![]() | |
hi this is a code for [B]export to excel[/B]. I want to color the headers light blue and all result of query like one white then one grey and repeat. [CODE=php]session_start(); $a= $_GET["id"]; function cleanData(&$str) { $str = preg_replace("/\t/", "\\t", $str); $str = preg_replace("/\r?\n/", "\\n", $str); } # file name … Web Development php | |
Hi guys, I have a table that outputs all my contacts via a while loop from my database. my syntax is like this: [CODE]SELECT * FROM contacts WHERE id = $_SESSION['user_id'] ORDER BY name ASC LIMIT 5[/CODE] that pulls out all my data and only gives me 5 results. Now … Web Development javascript javascript-jquery php sql | |
Need help doing this. On a drop down list, on click of an option an input textfield appears. e.g. [CODE]echo "<select> <option>What is your opinion on</option> </select>"; echo "<div id='pop'><input type='hidden' id='opinion' size='20' name='opinion' value='Type Keyword Here' /></div>"; [/CODE] i want it to be hidden and then appear on click … Web Development javascript | |
High guyz am tryin to get hint from my database but i am managing to do so,though if i list the array am able. please help if any one has an idea here is the html code [CODE] <html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; … Web Development php | |
Hello all I have this query [CODE]$query_Totals_i = "SELECT (kinisis_1c + kinisis_1e + ((kinisis_1c / kinisis_1b) * kinisis_1a)) * (1 - fpa) * 1.005 AS kinisis_1, (100c+ 100e+ ((100c/ 100b) * 100a)) * (1 - fpa) * 1.005 AS `100ara`, (super_1c + super_1e + ((super_1c / super_1b) * super_1a)) * … Web Development mathematics php ![]() | |
I've been going round and round trying to sort this. I have this in one of my programs: [CODE]drop table if exists temp2; rename table something to temp2; rename table temp to something; create table temp like something[/CODE] and it's not working, though it will work when I manually paste … ![]() | |
Hello I'm new also with the php programming language i tried to put this code. I wanted to happen is when it submit it will email to me the name of the user. <?php $alert = $user->get('username'); if (isset($_POST['continue'])){ mail("waren@unicondouglas.com","User Login",$alert); } ?> <form name="frm" action="http://enpekei.com/products/index.php?option=com_igallery&view=category&id=0&Itemid=57" method="post"> Good Day! <?php … | |
Sorry for another regex post but i have been trying to get a regex to work to check for unwanted characters in a string like @#?! I have tried [code] var cityreg=/^[^$%@!]+$/; [/code] but it doesn't seem to work? Web Development javascript regex | |
I have been fighting with this code for 3 days. I got everything to work....except its a bit glitchy as of right now and I can't figure out why. I am sure it is simple. They basic concept is something like this: OFFICE [txtbox] [txtbox] [txtbox] [label] +add row BUSINESS … Web Development asp.net html-css printer session web-server | |
Hi, I have a form in which a user can create from 1 table to 10 tables which will dynamically create 2 HTML radio buttons, 12 checkboxes and 1 select drop down and 7 input textbox per table in JavaScript. I need help with printing the whole form with currently … Web Development html-css javascript | |
Hi Guys, I'm making a login form. I want to add validation to it but don't know how to do it. I have just added the echo statement as an error message. I want the message to appear on the index page.Can anyone help? My php login form process.php [CODE]<?php … Web Development php ![]() | |
I have this webpage with many ads. Currently I have them appearing in a random order without repeating each time the page is refreshed. The code for that is here.. [code] <div id="ads"> <script type="text/javascript"> var i, images = []; // insert ads here images.push("<img src='Images/xxxxx.jpg' alt='' />"); images.push("<img src='Images/xxxxx.jpg' … Web Development javascript | |
I have a probelem - how to save information as a txt or js file and retrieve it later using only html or javascript . Web Development javascript | |
Hi All, At the minute I have a script, that ill post below, that simple echos out some information via ajax. My question is, how do i get the update without using meta refresh and without clicking anything at all? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) … Web Development javascript php | |
I know, Here is something wrong in Image Output Section. Please, Help me to correctly show the images to 3rd no. column. [CODE]<html> <head> </head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <body> <?php include ('cont.php'); $result = mysql_query("SELECT * FROM productinput") or die(mysql_error()); echo "<center>"; echo"<table width='500' border='1' cellspacing='0' cellpadding='0'>"; echo" <tr>"; … | |
hi- currently i have a small (LAN only) web server running on my computer, and i would like to be able to make a web page in which i can run a program on the server computer from another compuer. say, for instance, i click a button on the web … Web Development client-server javascript web-browser web-server | |
I call the getTitle function but it only returns the last DB value. I presume that is because there are many rows in the DB with the same 'code' However when I call the function I want to get all the values for TITLE where code is something in the … Web Development php | |
I am trying to set up a web based tool for my wife and I to use to balance our checkbook together. I am using HTML, Javascript (Ajax), PHP and MYSQL. I have read beginner books on all of these subjects, I can get data out of MYSQL, BUT can't … Web Development javascript mysql php | |
Hello, I downloaded a theme from wordpress and uploaded it to my domain server i keep getting this error Fatal error: Call to undefined function get_header() in /home/changeis/public_html/index.php on line 1 please guide |
The End.