52,566 Archived Topics
Remove Filter ![]() | |
Hello all, well i have a problem, but it sorta works. Here is my code. [CODE=JAVASCRIPT] var toggleState = 0 function toggleMe() { if(toggleState == 0) { alert("Checked"); toggleState = 1; } else { alert("Unchecked"); toggleState = 0; } } [/CODE] HTML [CODE=HTML] <input type="checkbox" onclick="toggleMe()" />Toggle me <input type="checkbox" … Web Development javascript | |
hi, this is probably a simple solution but nothing is coming up in searches except date and time pickers. i basically have a datetime column in mysql database. i have an input field for my date part and i want to create a second input field in my form to … Web Development php | |
need to write the below javascript function in php..please help [CODE]myStartDate = new Date('April 1, '+curYear+' 1:59:59');[/CODE] Web Development javascript php ![]() | |
Is there a way to make a variable be able to be used in another .php file? E.G In PHP1.php $age="9"; $someOtherThing="1"; In PHP2.php echo $age+$someOtherThing; I have a statement to make, I hate being a n00b. Web Development php | |
aww. i'm so sorry for posting again. i have so many questions. i'm so sorry. ahm. i was just wondering if my code is possible if ever i'm going to insert a remarks to my database. here is my code: [CODE]$totalg=($totala+$totalb+$totalc+$totald+$totale+$totalf)/6; if(totalg <= 5.00 && totalg >= 4.51){ $remark=Excellent;} else(totalg … Web Development php | |
Hi all, I am having a problem with this code, When the submit button is pressed all the php code is echoed to the screen. Thanks David [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Search</title> <link href="style.css" rel="stylesheet" type="text/css" /> … | |
Hi There, - I've got a list similar to the following: <ul> <li><a href="item1.php">item1</a></li> <li><a href="item2.php">item2</a> <ul> <li><a href="item2-5.php">item2-5</a></li> </ul</li> <li><a href="item3.php">item3</a></li> </li> - Item 2 needs to have a class added to the li using jquery. I've tried the following but it isn't working: <script> jQuery(function(){ $(this).parent('li').addClass('current'); }); </script> … Web Development javascript javascript-jquery | |
Hello, i'm trying to insert multiplle values into a table.. but it is being stored o in the table.. i've been trying while loop but still no progress.. the system search for user related to its specefic staff concern and then assign a course.. <form id="assign" name="assign" method="post" action="assign_training.php"> <tr><td … Web Development php | |
I have this simple script: [PHP]<?php // MySQL Connection mysql_connect($sql['host'],$sql['user'],$sql['pass']) or die("Unable to connect to SQL server"); mysql_select_db($sql['data']) or die("Unable to find DB"); // Getting rows $select = "SELECT * FROM table WHERE uid = '". $_POST['uid'] ."'"; $data = mysql_db_query($sql['data'], $select) or die("Select Failed!"); // Query results $row = … | |
Hi guys, I have developed a menu structure that has several sub-menus which are hidden until you click on the menu item. Once this happens I have got a onclick event which will display the sub menu below, changes the font colour of the menu item you have just click … Web Development javascript | |
hey all i have an array stored in a variable - $SelectRoom which is put through a foreach to display each value of the array: [CODE] foreach($SelectRoom as $value) { echo $value; } [/CODE] no that works fine however i want to send this array through the url with other … Web Development php | |
Hi Friend, I have a Jquery Validation code in which I have written [CODE]element.focus();[/CODE] When I view that page into other browser I able to modify that previous Field if I was left next field blank or wrong input. but in chrome i wont able to do so..! Can you … Web Development javascript javascript-jquery | |
For Ex: There are 10 peoples who logged into the site. I need to track the name of the people who logged in at a admin side. Under what logic we can track the people. I prefer to do it on php. Please help me the logic of tracking. Web Development php | |
hi, i need to develop a page having a shared text area. two users would be using the same page on their respective machines but they share in a way that if one writes something in the text area it will be displayed to other as well. it will be … | |
Hi, i am making a menu and want to be able to add menu links by simply adding a new record to a database, i have got the main concept going but am having some troubles, instead of writing: the same piece of code to load a new menu item … | |
Do u know of any free javascript script that will popup as a bubble with some information on it when I click on any form element in a page? I can show you an example of what I want: [URL=http://www.imagebam.com/image/0c790e4092858][IMG]http://thumbnails5.imagebam.com/410/0c790e4092858.gif[/IMG][/URL] Web Development javascript | |
Disclaimer! I have no prior knowledge of php, I just need a clear answer. I have the string $content, and I want to replace any [ or ] between the [nobb] and [/nobb] tags inside it with ^ and *. And I need also to do this again but this … Web Development php | |
hello.. i am using random query with pagination. but i am getting same results in second page also. Two things I need to make happen: 1. click on a result, you click the back button, results are in same order. 2. You get a paginated list of results in a … Web Development php | |
Hi People, I have this problem, i have created an upload form which includes some text fields and also an image upload which then gets sent to a server. I haven't yet got any validation or sanitisation on there at the moment. Im abit new to PHP and can code … Web Development php | |
Hello I've looked around and looks as if this can be done with Jquery, but the guides and full of so much bullshit its insane. Anyone done this and have a good way to do this. Most of the other ones have form validation and crap which 1) doesnt relate … Web Development javascript javascript-jquery php ![]() | |
Hello! I want to continue a session even after the browser was closed. What I want to do is to remember the host, username, password, of mysql. Whats the trick? Web Development php session web-browser | |
hheyy yall!! i really wuld lik a quick a reply 2 dis cos i really wnt 2 knw hw i can encode a php/phtml script 2 go unnotice/untraceable 1luv!! Web Development php | |
hey all i'm busy makin an online bookin system for a project. What i need is when the rooms get displayed, the customer can select, using check boxes which rooms he/she wants. ranging from 1 room to all 6 if he/she wants. then on the next page i need only … Web Development php ![]() | |
Hi all, I want to know if it is possible and how to intercept an existing javascript keybind and block it. For example, a website has some javascript that, when the user hits the letter "H" on the keyboard, the website automatically runs a function, e.g. redirecting to another web … Web Development javascript | |
I have a file uploader in a web page which allows to upload excel files only, hwat I want to do is in the code , to open the excel file and get the values in the excel file which Is in different cells to the mdf file in visual … | |
i'm having a bizarre issue with a form that seems to not want to post the file data array... [code=php]<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form>[/code] the following is a snippet i just … Web Development php | |
Hi new to PHP...very new..I created some pages for a class I'm taking in php. Eight pages with a query and dynamic results table on each page. They all work fine but the problem is they only work locally. We have a remote server for school use, but of course … Web Development php | |
i have declared a variable in page_load function and i want to use this variable in Button_click function i declare the variable globle but its not working and i also passed the variable by value but then Button_click funcion is showing error that syntax is incorrect wat to do ??? Web Development asp.net | |
I know PHP include is server sided, but is there something similar I can implement that can work across different servers? Or something server sided that can work on the same server but across different URLs? Thanks! Web Development client-server php | |
PLZ HELP ME I WANT TO MAKE MY OWN WEBHOST I HAVE 10 pCS ON MY NETWORK AND 01 SERVER INSTALLED WITH WIN SERVER 2003 SP2 (ACTIVE DIRY INSTALLED WITH DNS) THE IP ADDRESS OF MY SERVER IS 192.168.1.1 I HAVE ALSO HOST THE SITE ON MY SERVER WITH APACHE … Web Development apache dns php web-server | |
Below is the XML response you get from the W3C Validation API: [code=xml] <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator"> <m:uri>http://www.pritaeas.net/</m:uri> <m:checkedby>http://validator.w3.org/</m:checkedby> <m:doctype>-//W3C//DTD XHTML 1.1//EN</m:doctype> <m:charset>utf-8</m:charset> <m:validity>true</m:validity> <m:errors> <m:errorcount>3</m:errorcount> <m:errorlist> <m:error> <m:line>10</m:line> <m:col>1</m:col> </m:error> <m:error> <m:line>12</m:line> <m:col>2</m:col> </m:error> <m:error> <m:line>14</m:line> <m:col>3</m:col> </m:error> </m:errorlist> </m:errors> <m:warnings> <m:warningcount>0</m:warningcount> <m:warninglist> </m:warninglist> … | |
Hi there, I have a few sites plus a few clients' sites I have designed and manage. At present, when I want to add a new feature to all of the sites, I code it into each site individually. What I want to achieve is to be able to update … Web Development php web-server | |
hai friends, i cannot create the message box. the syntax i used is "MessageBox" . it gives the errror that namespace system.windows is not found. i searched with System.Windows i cannot found anything there. so plz help Web Development asp.net | |
Hi! Sorry for my bad english. Darkening page in ie doesn't work well. On the left side there is part of the site that isn't covered with dark! In firefox this is well, whole page is covered, but in ie not. Thanks. (There is an attachment). Web Development javascript | |
hello everyone, i think this a rather complex question but i'll have a go. i have this output from mysql printed on a php page: user1 ------------------- week | hours worked | hours had to work | missing hours 32 | 30 | 32 | 2 user2 ------------------- week | … | |
How to move cursor position in Web Application by using javascript on image click. I want to move the cursor position on particular coordinate on image click. With javascript how to do that? Thanks in advance, Regards, ANKUR Web Development asp.net | |
please help. I'm trying to run a script from a inside shared function: [CODE]Dim strScript As String strScript = "<script language=JavaScript>" strScript += "alert(""" & string1 & """);" strScript += "</script>" HttpContext.Current.Response.Write("alert(""" & string1 & """)") If (Not Page.ClientScript.IsStartupScriptRegistered("clientScript")) Then Page.ClientScript.RegisterClientScriptBlock(MyPage.GetType(), "clientScript", strScript) End If[/CODE] I'm getting an error in … Web Development asp.net | |
i don't know if this converter is created in javascript [url]http://www.oanda.com/currency/converter/[/url] i want to make like that but first i want to start on the combobox.. how to put a image in a option value in a combobox? Web Development javascript | |
hi, i have a problem with my tabcontainer that once user click the tab, it will not remains the tab but goes to the default tab.. This is my code [CODE] <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager> <cc1:TabContainer ID="MyTabContainer" runat="server" ActiveTabIndex="0> <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Company"> <ContentTemplate> <a href="<%= Page.ResolveUrl("~")%>MASTER/Company_a.aspx" >Company Entry</a> <a href … Web Development asp.net | |
I'm try to design a web page that displays pictures (thumbnail) with a link to the full size picture under the picture.. The code below shows the full path to the picture but I can't figure out how to make it into an link. Here is the php code:[code=php] <?php … Web Development php web-design ![]() | |
Hello, I was hoping somebody could help me. I have an estimator on a page that calculates cost. Its in a form and I Post action to pricing.php. On pricing.php I display line by line cost for the user. What I would like to do is once the user is … | |
Hello everyone, In my last company i was working with LAMP. I was using quanta as editor. I have never worked on windows platform for php web development. And now i have changed my company, Right now i have to use windows plat form, can anyone suggest me, good and … Web Development php web-server | |
Hello everyone, I'm working on a project where I wish to find out who the instructor for a particular course is. The user is has to input the course name and course id for that course id then the script will search for the instructor. If the value returned is … | |
well PHP is a powerfull text processing language designed mainly as a CGI ( common Gateway Interface ) programming language. But PHP supports rest of other features using the library extensions. For a example you can call any win32 API call in your PHP script using the win32 API library … | |
Hi I have created a simple search form to search a movies database on my page using jsp and mysql, how can I make a download link after results have been extracted in a result page. Thanks for your nice reply. | |
Hello, I want to put some .net web based projects in the resume as a 3yrs experienced programmer. Can anyone please suggest me the kind of good projects. I know C#, VB.Net, ASP.Net, SQL Server. I am learning AJAX, Silverlight also. I would be grateful if anyone could help me … Web Development asp.net web-server | |
I'm having a problem with the following code: I have the following jquery call: the problem is that I have several `<select name="^DDLColumns1..2..3..4`. etc.. controls on my page, however this is only populating the first one: `<select name="^DDLColumns1"` anybody know why the select would do this? <script type="text/javascript" language="javascript"> $().ready(function() … Web Development javascript javascript-jquery json | |
Aww. I'm so sorry. I've been reading topics posted here about updating database using form. but i can't seem to find my error. I want to update my database using HTML forms. where in after i click a button "Edit Record" A page containing forms will appear where i can … Web Development php | |
I need help with an assignment. Don't need the answer, just what is wrong with my code. I need to create a init() function. Create a variable named allSelect that references elements in my document. For each item in the allSelect object collection, add an onchange event handler that runs … Web Development javascript | |
Is it possible to disable close[x] button of the popup window? I use Window.Open() to open the popup window. If possible help me to try out this. |
The End.