52,566 Archived Topics
Remove Filter ![]() | |
I have 3 divs. I want distribution them random (when refresh the windows, three divs' position will be changed) I think Math random() can solve this problem, but how to do that? Thanks. [CODE]<div id="div1">...</div> <div id="div2">...</div> <div id="div3">...</div> <script> Math.floor(Math.random()*3)+1; ... </script>[/CODE] Web Development javascript | |
hello all, i need multiple upload at once for my site.that should be a very similar to this [url]http://demo.element-it.com/Examples/multipow/index.htm[/url] 1.simple upload (click on that) i tried this but it is trial version. so can any one suggest me if there are any other like this and that should be freeware... … Web Development php | |
can u correct the error Parser Error Message: Type 'System.Web.UI.UpdatePanel' does not have a public property named 'table'. i have following code [CODE]Public Partial Class WebForm1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub RadioButtonList1_SelectedIndexChanged(ByVal sender As Object, ByVal e … Web Development asp.net javascript vb.net | |
I just downloaded a socialengine script. it works fine with my local WAMP server. but when i get it online i get the[B]" Autosuggest is already set!"[/B] in every page. and every page contains two duplicate of the same page (ie., two header and two footer) but the site works … Web Development php social-media | |
Hi, I have done code for two dorpdownlist by using Ajax. It is working properly on my machine but whenever copy to other machine that Ajax code not working, so please give me solution. Thanks in advance Web Development javascript | |
Hi frnds.... i am trying to do search like google.... my files r here......but it displays nothing....i mean no output and no error...plz check the code what the error? eg: in a text box type "a" then "a" related words r displayed... [B][U]google.php[/U][/B]p [ICODE]<?php $file=fopen("http://www.google.com/complete/search?h1=en&js=true&qu=" . $_GET["qu"],"r"); while(!feof($file)){ $d=fgets($file); echo … | |
Ive been playing around with this all day, I think my path is wrong, I keep getting [Parse error: parse error, unexpected ';' in /class/ct386b/##/www/cgi-bin/french5.php on line 73] Here are how my files are set up and I am linking to my college unix system thru my signon ~ct386## <secret> … | |
Hi all Firstly may i say i have found your forums to be of great help, but I have a task and not entirely sure if its possible I have a shoutcast radio that i have displaying on my shoutbox every 3.5 mins (auto refresh) but someone said what i … Web Development javascript xml | |
Good day all: I have a textarea box in my form which receives (from a url) and display variable. The problem is that it does not translate the <br/>. instead of creating a newline where there is <br/>, it simply prints <br/>. here is an example of the output. br/>On … Web Development php | |
Thanks for taking the time to read this. Let me start by saying I'm a php newb so be gentle! I have a form that is used to insert data into my database to display info and images in a portfolio section on my site. In the form, the input … Web Development mysql php programming-construct | |
Hi, I have some code which creates a PDF based on the data posted to the entry point page (print.aspx). When I run a page with multiple frames in, each accessing the main print.aspx and posting data etc. but for some reason each frame loads one at a time, rather … Web Development asp.net c# multithreading windows-server | |
have a single look on code based on jquery,the code is running fine but the problem is when ever i click on any radio button to create div it created div but overlap each other ,i added blank row or <BR> but useless any help [CODE]<body> <form id="form1" runat="server"> <div> … Web Development asp.net html-css javascript javascript-jquery vb.net | |
Dear Friends, The problem I am facing a that how to Hide and Unhide Div tags in IE7 and IE8? My code is [CODE]<div> <a href='javascript:void(0)' onclick='DisplayAddComment();'> <img src="../images/AddComment.jpg" border="0"/> </a> </div>[/CODE] and javaScript Function is [CODE]var m=1; function DisplayAddComment() { if(m==1) { document.getElementById("dvAddComments").style.visibility="visible"; document.getElementById("dvAddComments").style.display="table"; m=0; } else { document.getElementById("dvAddComments").style.visibility="hidden"; … Web Development html-css javascript web-browser | |
How can i count files in a folder but only the files starting with 15_ before the file name? Web Development php ![]() | |
Hi, I want to get started in Web Development. I want to be able to design dynamic web services. I have realised that there are so many languages used in web development. So I am asking for an advice of which languages I have to choose in the design of … Web Development php web-design | |
[CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <!-- Microsoft Indic Language Input Tool embed code --> <form method="post"> <input name="abc" type="text"></input><br/> <input type="submit"/> </form> <?php echo $_post['abc']; ?> </body> </html> [/CODE] I have written this page … Web Development first-post php | |
Hi everyone...I'm very much new to java scripting..My problem is...I have a situation where I have to check wether the text entered into a text box contains "_" (underscore) or not..I have to use this in javascript of my asp.net page. can anyone help me with some code..?? Web Development asp.net javascript | |
Hi, I am a PHP developer I never learned much JS but there is no way to accomplish this function using only PHP without a refresh. I am trying to adapt a script that did the basics. [CODE] <script language="JavaScript"> function som() { var First, Last, Full; First = document.Credit.First.value; … Web Development javascript mysql php | |
basically this is a search function.(i have to search the data from database) [CODE]<form method="post" action="search.php" name="submitted" value ="true" /> <label>TYPE: <select name="field"> <option value = "sid">StudentID</option> <option value = "sname">StudentName</option> </select> </label> <label>WORD: <input type="text" name="searchword" /> </label> <input type="submit" /> </form> <?php if (isset($_POST['submitted'])){ $con = mysql_connect("localhost","root",""); mysql_select_db("uni", … Web Development php | |
please help me it usually gives me error ( it says cant enter the values ) [CODE] <?php $host = "localhost"; $con = mysql_connect("localhost","awah","password") or die ("error to connect to the server"); // contact the table and enter the form mysql_select_db("kigalifinders_clanteam_admin", $con); $query = mysql_query("INSERT INTO contacts(from, subject, message) value('$_POST[email]','$_POST[subject]','$_POST[messgae]')"); … | |
I'm working on a program and when I try to run it, I am receiving an error stating "The connection name 'ConnectionString' was not found in the applications configuration or the connection string is empty." Here is my code: [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="CustomerDisplay.aspx.vb" Inherits="CustomerDisplay" %> <!DOCTYPE html PUBLIC … | |
Hi guys, i have a big problem on these creation. basically if i enter the No of Question then it has to be created No of cells for entering marks. Eg: No of question = 4 then [B]quesNO[/B]-------[B]Marks[/B] 1------------------cell 2------------------cell 3------------------cell 4------------------cell if anyone of you could help me with … Web Development php | |
I'm trying to write some php that will allow a user to edit an order they previously placed. But in the same way they made the order if that makes sense. So this is my jQuery code to send values to a php page: [CODE]$('#submit').live('click',function(){ var postData = {}; postData['data[order_id]'] … Web Development javascript-jquery mysql php | |
HAE guys am in a big problem my boss wants me to create a comment page on my website and ave problems with declaring variables. you can view my website from [url]www.meliaproject.org[/url] and go to contact page and see the error am getting please someone sort me out with this … Web Development php | |
Hi guys, I am using following code for sending out confirmation email after successful transaction to the user. But, I users are not getting any confirmation emails. Can somebody help me out here. May be I am doing wrong in "$to" function as $sender_email is at previous form, So how … | |
ok I have my register.php file obviously i blanked out my username and pass the first code is my register.php code and ill add my login.php code as well but it doesnt work it always says wrong pass or username no matter what my register.php works perfectly fine I just … Web Development php | |
Hello, Can any one tell me that how to show the name of the user using session. PLease help me by giving a code example and can anyone tell me i am using sessions and it is giving me this error " Warning: session_start() [function.session-start]: Cannot send session cache limiter … | |
I have a link at a page. It has a email form that sends an email to my address. I want to thank sender. I'm redirecting to another page that thanks the user. But i want a thank notification to be displayed in the same page with close option. Please … Web Development javascript | |
hello i'm new in php development and i want to create an update scrupt for my codes, and i've been way over my head in doing this one.Here is my code for the search result i need some pinters to how i can create an update script for this.thanks <html> … Web Development php | |
I have something to know guys, is it possible to combine all the data in one fields and it will display separately? Example: I have 3 fields (id, description, link) and i store this in the ff. with a separator "|": [B]description fields[/B] This is a description1 | This is … | |
hi! i have problem with my form. I cannot connect with home.aspx when i submit it, there is nothing happen. Can anyone tell me whY? HERE'S MY CODE: file name: Registration.aspx [CODE] <form id="form1" runat="server" method="post" action="home.aspx"> <div> <table style="height: 141px"> <tr> <td><label>Name:</label></td> <td> <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td> <td class="style1"> <asp:RequiredFieldValidator … Web Development asp.net | |
Hi Guys, Hopefully someone can answer this question for me as I'm stuck as to what to do. So the scenario goes like this. We currently use an access database at our company that contains staff information. I have been asked to design a web page that when a user … Web Development database-design php web-design | |
I am looking for advice for using the functions of these 2 scripts on the same site. I have been using greybox and a different version of easytabs that didnt require the jquery script. I recently found a version of easytabs that allows the back button to work and for … Web Development javascript javascript-jquery | |
Hello Guys, I am trying to update multiple table rows using dynamically generated radio buttons. The radio buttons are in groups of two (yes and no) which also have dynamic names. In other to give the group unique names, I have added row numbers to the group names as thus: … ![]() | |
hey all i have been trying to get the ext from a file so that i can append it back on. but it seems not to be working here is what i have tried [CODE]$tempFile = $_FILES["Filedata"]["tmp_name"]; $targetPath = $_POST["path"]; $filename = $tempFile; $filename=str_replace(" ","_",$filename);// Add _ inplace of blank … Web Development php | |
This code is working perfectly in Chrome and Firefox but i am unable to work it out in IE can some help me out with this [CODE]<form name="login" method="post" id="login_form"> <div class="form_back"> <input name="text" type="text" id="username" /> <input name="text2" type="password" id="password" /> <a href="" onclick="$(this).closest('form').submit(); return false;" class="login"><div id="login_button"></div></a> </div> … Web Development javascript javascript-jquery | |
i have a form with some hidden fields..... index.php page.... [code="php"] <form id="addReplyForm" method="post" action=""> <input type="text" id="target" name="commentreply" /> <input type="hidden" id="session_id" name="session_id" value="" /> <input type="hidden" id="page_id" name="page_id" value="" /> <input type="hidden" id="firstName" name="firstName" value="" /> <input type="hidden" id="lastName" name="lastName" value="" /> <input type="submit" id="submitReply" value="Reply" /> </form> … Web Development javascript javascript-jquery php | |
Team - I hope you can help me here. I am converting an old ecommerce site to a newer asp.net site but I need to retain the old cart. The cart is unique in that it uses forms to post the items into the cart. So if a page listed … Web Development asp.net ecommerce first-post vb.net | |
See my demo page for where I have it working on an img src but not an input which is what I really want. Here's the link to my testing / demo page: [url]http://www.myu2sig.com/stellardonations/buttontype.php[/url] As for what I want to do, how can I apply the function to the input … Web Development javascript | |
hi eveyone i realy need ur jelp firstly my english is not verywell so please try to understand me i am self tought programmer , and i like web developing and i want to be a web developer in php but i dont know how and what i can do … | |
Hi Experts,I have 2 pages with the name farmmgmt.php and assigndoc.php. In farmmgmt.php I insert certain fields like cowid and then get redirected to assigndoc.php for assigning doctors. After assigning when I update the table it does not do so.. I want to update the table for the recently inserted … ![]() | |
I am trying to implement a code to hide and show divs with a radio button. If yes is selected i want to show the divs. If no is selected i want to hide them. It sounds simple enouth but i can't figure this out. Can someone please advise. Here … Web Development javascript | |
Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its … | |
Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its … Web Development flash javascript sql | |
I have the following code: [CODE]window.addEvent('domready', function() { $$('.navigation li a').each(function(el) { var fx = new Fx.Tween(el, { duration: 200, link: 'cancel' }); el.store('prop', el.getParents('ul')[0].id.contains('splash') ? 'padding-right' : 'padding-left'); el.addEvents({ 'mouseenter': function() { fx.start(el.retrieve('prop'), 3); }, 'mouseleave': function() { fx.start(el.retrieve('prop'), 0); } }); }); }); window.addEvent("domready", function() { $('splash-img').fade('hide'); $('splash-navigation').setStyle('right', … Web Development javascript | |
I have Ubuntu 9.10 running on Oracle Virtual Box in my Windows Vista computer. I have XAMPP running on both. The host is currently set to 192.168.10.4 and the Virtual machine at 192.168.10.3. I tried running the same code independently on both computers and it runs fine on Windows. In … | |
Hello again, I've been experimenting with php and using it to create screen scraper but I have encountered a problem being a noob I am, when I came upon a dynamic page that sends out XMLHttpRequest to server to obtain new results. The website that is called realtor.com and when … | |
Hi I have the below code and when i open it in I.E i get this error Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'Language'. Do i need to enter a database @ the datasource= [code]<!--- GetLanguage ---> <cfquery name="qLanguage" datasource="#request.DSN#"> Select LanguageID, LanguageCode, LanguageName from Language </cfquery> … Web Development coldfusion operating-system | |
Response: ---------- [CODE]<?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns3:createsessionResponse xmlns="http://www.utiba.com/delirium/ws/TypedQuery" xmlns:ns2="http://www.utiba.com/delirium/ws/Misc" xmlns:ns3="urn:UMARKETSCWS" xmlns:ns4="http://www.utiba.com/delirium/ws/StdQuery"> <ns3:createsessionReturn> <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid> <ns3:result>0</ns3:result> <ns3:result_namespace>session</ns3:result_namespace> <ns3:createsessionReturn> <ns3:createsessionResponse> <S:Body> <S:Envelope>[/CODE] ------------------------- How can i get xmlns Attribute Values using PHP. [ICODE] <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid>[/ICODE] I want to take [ICODE]<ns3:sessionid>[/ICODE] value [ICODE][6DL42ED0GG67MADDTD96][/ICODE]. Please reply asap. very urgent. Thanks William |
The End.