17,029 Solved Topics
Remove Filter ![]() | |
![]() | Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; … Web Development java-jsp java-netbeans javascript web-browser ![]() |
hi.. im trying to validate a registeration form using javascript.. i successfully validated all the textbox individually by using onblur event... but when i click submit button, without entering text, or without even touching the textbox, the Form gets Submitted.. hw can i stop this... plz tell me a solution... Web Development javascript | |
Hello everyone! I am developing a php web application and I was searching on how to deploy it. I heard about nusphere..But it is a trial version..Can anyone give me some suggestions or tutorials on how to deploy a php application? Thanks, Chupi :) Web Development php | |
I have entry dates of my records in format yyyy-mm-dd. I have 2 drop down menus, one for Year, and one for Month to select. I have no idea how to return results without using the complete date. If I use a text box and enter the exact date (Y,m,d) … Web Development php | |
[CODE]echo "<param name='FlashVars' value='mp3=Slipknot-Duality.mp3&bgcolor1=$rgb\&showinfo=1&autoplay=0&showstop=1&showvolume=1'>";[/CODE] I am having a problem getting my bgcolor1=$rgb to be evaluated I know that $rgb has a value in it because i am using print_r($GET) and it is evaluated as the correct value how do i get the variable to pass as a paramater in the … | |
I just switched webhosting companies and I'm having a major problem now, I keep getting errors that I wasn't getting before. Mainly, these right here: [code] Notice: Undefined index: username in D:\hshome\c274056\test.yourroommatefinder.com\register\signup.php on line 12 [/code] Here's line 12: [code] $username = mysqli_real_escape_string($dbc, trim($_POST['username'])); [/code] Tried this too: [code] $username … Web Development php | |
how to retain the values of radio buttons back from databese? for example, if user provided with 3 options (red, blue & green) if a user selected green(the value is stored in database) then next time he/she returning to the same page, previously selected option green radio button need to … Web Development php | |
Ok, this question probably has been asked quite a number of times, but I am fairly new to this technology and am not sure of what I should search for. So, if someone could either point me to a link where it has already been answered or provide the answer … Web Development javascript web-server xml | |
![]() | Hi, I'm starting to learn Ajax after playing around with JSP and Javascript, I felt the need for interaction without reloading the page. I've searched everywhere for a simple java servlet/ajax example that I can play around with but just found a lot of asp and complex java examples. Could … Web Development java-jsp java-netbeans javascript ![]() |
I want to insert multiple rows in a database table, from an submit form. But not able to trouble shoot the problem in my code. Following is the code which is not inserting any row in the database. [CODE]<form action=test_insert.php method="post"> <table> <?php for($i=0; $i<10; $i++) { ?> <tr> <td><input … Web Development php | |
Please explain me and when we [ICODE]echo $form;[/ICODE] then it shows. please explain this. [CODE]$form=<<<POST <form method="post" action=""> </form> POST;[/CODE] Thanks in Advance... Web Development first-post php | |
Hi to All, I am accessing text box value and error is operator '-' cannot be applied to operands of type System.web.UI.WebControls.TextBox and int | |
I have a form with check boxes, but if some of the check boxes I are not checked I get undefined index is there a why around this please help. I am using $_POST. :-/ Web Development php | |
Hi All, I have been learning making CMS and you guys have been helpful. I can now post, and view the posts. I need to edit/delete articles. I have read somewhere that you can make a link that appends an id of the article and you can retrieve it via … | |
I got a master page with a content place holder (called: placeForButtons). In one of my forms a panel (called: uxButtonsPanel) is added as one of its controls . Later when the program is running (after it compiled what it had successfully) I try to add a button( called: uxInteractionButton0) … Web Development asp.net | |
I'm writing a utility for work using forms, then submitting the supplied information into a database with php. The work this intended for is to be performed every thirty days. I need to find a way to automatically check the database and be sure each table in this database has … Web Development php | |
Hello friends, I am trying to make a simple search box in ASP. I am using a text box, where the user enters his query. And besides it, I am using drop down menu (<select>.. <option>.. </select>) in which the user selects what he want to search (Song name, Artist, … Web Development asp | |
Hello, I would need to upload two files from two different iframes, but they have to be treated at the same time by the same server script, so I'd need to send them with a unique submit. Is this possible? For what I have seen, the submit targets a single … Web Development javascript | |
I wish to pass an array of arbitrary content via a hidden field in a form which uses the POST method [CODE]$targets = any old array; ... build form to include ... <input type=hidden id=targets title=targets name=_targets value=\"".htmlspecialchars( serialize( $targets ))."\">[/CODE] Clearly this requires some use of the htmlspecialchars() or … Web Development php | |
Hi All, I want to show user registration information which he fill up in registration form & he can edit it. So I use details view. but I want to hide some fields like user_id(Primary key) etc. & some fields that he can't edit. How can I manage it..? | |
Okay, this is probably a lame question. I have a search page which which needs to be sorted by distance when the results come back from mysql. What's the easiest way to do this since mysql orders the results? heres the code i wanna try to use: [code] function CalculateDistance($lat1, … Web Development php | |
Hi, I'm having a slight problem on my home page. Depending on if the user is logged in or not depends on what navbar they see. However, even if the user is logged in - it will sometimes tell the user he is logged out. If you refresh the page … | |
This is content of in.header.php [code] if(!isset($session_id) || empty($session_id)) { session_start(); $_SESSION["Inputs"]=array(); } [/code] This is index.php which also has form objects that POSTs other values to step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["name"]="MyName"; $_SESSION["Inputs"]["surname"]="MySurname"; [/code] This is step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["age"]=$_POST["textboxAge"]; print_r($_SESSION["Inputs"]); [/code] Problem is print_r prints only [inlinecode]Array ()[/inlinecode]. … | |
Currently I have two textboxes & one button, Suppose In One textbox1 i write sandeep gupta after clicking on button in textbox2 Sandeep Gupta is dere using the foll. code- [code] protected void Button1_Click(object sender, EventArgs e) { string capitalized = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1 .Text); TextInfo UsaTextInfo = new CultureInfo("en-US", false).TextInfo; TextBox2 … Web Development asp.net | |
I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than … Web Development javascript | |
Hi, I know the format is right, but what is my user ID and password. I get this error when I try to open the webpage on localhost: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is … Web Development asp.net open-source | |
Hi, I've been looking around for a hosting company and haven't been able to decide on one. I was basically wanting to see what some people would recommend. My requirements: 1.Windows based 2.PHP & ASP.NET 3.Unlimitied disk space 4.Unlimited bandwidth 5.Allow to host unlimited domains under one account 6. The … ![]() | |
Hello everyone! I searched the site already to see if this question has been addressed already and found no results, but if it has then I appologize and if you can link me to that thread I'll refer to that to solve my problem. I am trying to save a … | |
Hello, I'm having a strange problem. I'm trying to make a link to a page called stats.php for a series of first names that I have stored in a database. However, when I use the code below the hyperlink ends up being a link to the current page I'm on … | |
I have some web page im using ajax accordion script. my question: is there any code (or maybe code in different language or script) that will make the window not to close copletly? i mean, there is the title line after you click the arrow the window open after you … Web Development asp.net | |
hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row value (text value) here is the code if possible please help me Thanks beforehand [code=html]<html xmlns="http://www.w3.org/1999/xhtml" … Web Development javascript xml | |
hi helpers, i'm trying to read an array from jsp in to java(servlet) page the code is JSP CODE (readingcheck box values): [CODE] String select[] = request.getParameterValues("sel"); if (select != null && select.length != 0) { for (int i = 0; i < select.length; i++) { out.println(select[i]); [/CODE] its working … | |
Hello all. I was looking for a way to make some grafical stats of recieved files on my honeypot. After thinking on the way to do so, i understood that the easiest way would be parsing the filename with regullar expression or using dir() command. But for parsing the data … Web Development php | |
Hi All, I have a PHP Code That is Search Input Value from Database and Print it. but i want to Print Serial Number (1,2,3......) before my Every Query. For Ex: 1. Name F Name Add 2. Name F Name Add 3. Name F Name Add 4. Name F Name … Web Development php | |
Hi, I am developing a software. I need to show only those subscriber, their subscription will expire after 90 days and less then 90 days. and when it show these subscriber it saves information in another table automatically. For Example: if Subscriber have expiry date 15-decemeber-2009, it shows alerts that … Web Development php | |
Hi a kind member (ardav) helped me with some php scripting to get a drop list to be populated using an exploded function in php. I need to also add a first option to the list that would say "Choose Color" as the client wants the light and dark colors … Web Development php | |
I am receiving a System.IO.FileNotFoundException when attempting to access a path like "C:\Path\~somePath\Path\file.ext" it reports the error: [code]System.IO.FileNotFoundException: Could not find file 'C:\Path\~s'. File name: 'C:\Path\~s' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, … Web Development asp.net | |
Hi and I have just noticed with my media wiki installation that all of my pictures in mediawiki are suddenly broken. The files are there but if I enter the path location in the url bar it takes infinit time to load (never loads - no error). Same for in … | |
Hi all, I have an SQL Datasource: [code=asp.net]<asp:SqlDataSource ID="shownMovie" runat="server" ConnectionString="<%$ ConnectionStrings:MovieTix %>" SelectCommand="SELECT movie.title, movie.category FROM [movie],[session],[theatre],[cinema] WHERE cinema.cinemaLocation=theatre.cinemaLocation AND theatre.theatreNumber=session.theatreNumber AND session.movieID=movie.movieID AND ([movieID] = @movieID)"> <SelectParameters> <asp:ControlParameter ControlID="GridView1" Name="movieID" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:SqlDataSource>[/code] However, i get the following error message: Ambiguous column name 'movieID'. Basically I … | |
Hi, all I am completely new to webprogramming and I am trying to make a table with expand and collapse feature. When clicking on each row from table, the row should expand and display other information below. I already got partially working, but this only works for the only the … Web Development javascript | |
Hi, I am having a little access/control issue. I can add a user to the database using a signup page, go back to the login page, and then log in using the new user. but if i click on a link to go to anoher page that requires the user … | |
hiiii, i have to build a secure web application using jsp, for which i have to implement SSL. I have generated the certificate using java keytool but as soon as i edit my server.xml file to enable connector port for https (8443) and add the other attributes like keystore,storepass and … Web Development cybersecurity java java-jsp | |
Hi all, i had Web Page include [B][U]DataList [/U][/B]control , [B][U]TextBox [/U][/B]and [B][U]Button [/U][/B].. [B]DataList1 [/B]: Getting Data from SQLDB [B]TextBox [/B]: for Editing Selected Field in [B]DataList [/B] [B]Button [/B]: Submit Editing when i Click [B]Button [/B]it Editing Data Succefully in [I]SQLDB [/I], but in same Time [B]DataList [/B]Control[COLOR="Red"] … Web Development asp.net | |
I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" … Web Development javascript | |
im a newbie php developer... i've tried sending an email n receiving the confirmation back for activating the users... here is the email sending code : [CODE]if($res) { echo "record added"; $to = $mail; $sub = "Confirm Mail From LeLys"; $header = "from: admin<support@domain.org>"; $message = "confirm link \r\n"; $message.= … | |
Hello, I have a category structure upt to 5 levels deep. My table looks like this; [code=sql]CREATE TABLE `categorie` ( `ID` int(11) NOT NULL auto_increment, `category_name` text NOT NULL, `parentID` int(11) NOT NULL default '0', UNIQUE KEY `ID` (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Cats' AUTO_INCREMENT=91 ;[/code] And I would like … Web Development php | |
Hello everyone, I'm learning JavaScript programming and I have a test to do. Will it be possible for someone to check what I've already written and let me know if I'm on the right track? In green are the questions asked and in red are my answers. I also put … Web Development javascript | |
Hello, I'm working on a recursive loop subcategory system. The code below is ALMOST where I need it. The last thing I'd like to do is indent each subcategory based on levels deep, rather than just separate by commas. I can't seem to wrap my head around it. Any suggestions? … Web Development php | |
I have the following code that pulls data off a mysql database and stores it in a 2D array ($rows). But after I print the contents with a foreach loop I just can't seem to be able to use that array again! Can't figure out how to reset it (printing … Web Development php |
The End.