52,566 Archived Topics
Remove Filter ![]() | |
hi guys, i want to give new line after fixed amount of characters(say after every 100 characters) in the textbox.as i have to display my news content which is very large. pl guide me for that.thanks waiting for ur reply. Web Development asp.net | |
I am looking for a host that supports jsp files and xml. I went to several host provider and I noticed that most of them supports asp and not jsp. Is jsp a standard language that every host supports it? | |
Hi All, I think this is my first question here. My web application uses an Access database and I'm getting some strange behaviour which might be related to that. Here's the issue: At the end of processing a users request (during which a lot of calculations are done), a record … Web Development asp.net microsoft-access web-server | |
I have a couple of buttons in html as follows: <tr> <td><a href="member_archive_action.php"><input class="button" name="Change" type="button" id="Change" value="Change" ></a></td> <td><a href="members.php"><input class="button" name="Back" type="button" id="Back" value="Back" ></a></td> </tr> Each of them calls the appropriate php script twice when pushed. The Change button toggles a flag so was apparently doing nothing. … | |
Hi, I created a couple of web applications with php and mysql and i have a problem that keeps coming up. I want to use html text boxes that will send information to the database but i want it to include line breaks.... until now i just typed in <br/> … Web Development php | |
I am trying to get a variable to increment in a function called by setInterval. It does one then stops... All I want is for the slider function to loop through the array over and over again, but it seems to like stopping after the first one. Here is the … Web Development javascript ![]() | |
Hi, I am a newbie in Ajax, and I am trying to figure out how to pass the value of an item from my HTML form through Javascript/Ajax. Here is the code: <form action="" id="name"> <p><input type="checkbox" value="Weather" name="news[]" onclick="showRSS(document.name.news[].checked)"/> Weather</p> This is what I have in my showRSS function: … Web Development javascript ![]() | |
I was wondering how I would precess a form using ajax. All my ajax works and my form works, but my form within the ajax doesn't work. Here is my contact.html page [CODE] <head> <script type="text/javascript"> function loadXMLDoc(url) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new … Web Development php | |
Hi I want to remove a control in a placeholder, in a function in JavaScript. Is that possible? If so please help. Fia Web Development javascript | |
[CODE]<form name="form"><textarea name="message"></textarea> <img src="" onmousedown="(do the prompt box)"> </form>[/CODE] i need help how to figure out how to prompt the user with a javascript prompt() to enter a url(link) that includes an http:// after the user enters the url in the prompt box and clicks OK, i want the … Web Development javascript | |
hello. i want to have a database in which i can have data of proteins and their structures .I'm New to php and have a biological background i studies . so can any one help me step by step that how can i build the database. regards Stefano [email]sa_kushi@gmail.com[/email] Web Development php ![]() | |
I have an input button that calls a javascript function: [CODE] <input type="button" name="Add_OpStds_Step" id="Add_OpStds_Step" value="Add Step" onclick="Add_OpStds_Step();" /> [/CODE] The function that is called will add some labels, input boxes, and the things needed for a table. By itself it works just fine, as soon as I wrap it … Web Development javascript | |
i already have the id field which is auto increment primary key. I have another field that i want to be auto increment/autonumber but phpadmin/mysql doesn't allow? how else do i have a field with an autonumber? Web Development php | |
I keep getting this error: c:\inetpub\wwwroot\Phoenix\Login.aspx.cs(85): 'Phoenix.WebForm1.DBConnection(string, string)': not all code paths return a value I have already tried putting everything in the DBConnection function to comments but still the problem persisted. This is crucial that i get this working. I have watched examples from the guides in daniweb but … Web Development asp.net session web-server | |
Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click Dim connection As SqlConnection = New SqlConnection("server=(local); Database = Bookstore; integrated Security=True") Dim CSP As SqlCommand = New SqlCommand() 'Dim Cust As SqlCommand = New SqlCommand() CSP.Connection = connection CSP.CommandText = ("select CusID,CusPassword from CusromerDetail where CusUsername = … | |
hi .. i am a newbie in PHP .. i have learned some php script and ready to make something from PHP .. can anybody suggest me, how to test my PHP skill ? i mean, u guys of course ever be a newbie, right ? so, when ur still … Web Development php | |
Hi All, In our application we have combo boxes implementated using tables with fixed column width(fixed combo width). and newly i have added a functionality for these combo box. functionality is expand combo box on rightclick (using oncontextmenu) to fit to lengthy text. oncontextmenu=function_call(object); inside function: obj.style.width="auto" but the problem … Web Development javascript | |
Hi I create web site using asp.net,It publish in windows server 2003.when I type URL in internet explore its sows all the aspnet file(.aspx) file,after that I click on default.aspx file,but it wont works,its generate "page cannot found".I tried it in my local machine and server machine,but its that didn't … Web Development asp asp.net web-server windows-server | |
[QUOTE]i hav a session variable.but wen i try to access it from the other page it is not showing anything.so i think session value is not working.[/QUOTE] ------User.php------- [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory,$Remainingmemory,$result,$data3,$abc); include 'connection.php'; $query= mysql_query("SELECT projectassign FROM projectassign where userid=(select userid from users where username='$username' and role='2')"); … | |
hi all, i want to store a value in session by using javascript in php.Can any one say me about it, i mean how to store and how to get that in the other php page. Thanks in advance.. Web Development javascript php session | |
Hi All, I'm trying to write some code to read a CSV file and produce HTML from it. I'm using MAMP to develop the page, but no code at all will display in the browser. I would like the first line of the file to be the header, and then … Web Development data-structure php | |
i'll attach a little snippet: [CODE] comd = New OdbcCommand("INSERT INTO news (new_title, new_content) VALUES (@newTitle, @newContent)", conn) comd.Parameters.Add("@newTitle", OdbcType.Text) comd.Parameters("@newTitle").Value = newsTitle.Text comd.Parameters.Add("@newContent", OdbcType.Text) comd.Parameters("@newContent").Value = FCKeditor1.Value conn.Open() comd.ExecuteNonQuery() Response.Redirect("default.aspx") [/CODE] this code executes, and my database is updated, but the new_title and new_content fields are still NULL. i've … | |
Hi I've got the JavaScript that calculates the amount of two TextBox's(rate_## and area_##) and displayes it in a label(amount_##), what I'm trying to do is to add up all of the amounts and display it in another label(estimatedCost), I've tried this with the first function but the estimatedCost label … Web Development javascript | |
I am trying to create a row in a table. In that row i have some input and select elements. I want to add an onchange event to an select element. I am trying to do so.. but not working (see the bolded code below) Please help me. // this … Web Development javascript | |
Hello, I am new to java script i wish to know the code for calling a button click event in asp.net using java script. Web Development asp.net javascript | |
Hi all, Can I get a simple snippet to upload an image in php and display it on the webpage which i have developed but not yet published? I have tried 2-3 codes but they dont seem to be working..please help me!!! ![]() | |
How to Open a webPage in new Tab or new Window in ASP.net(C#)? Web Development asp.net | |
[CODE] SELECT Customer_Info.CustName,Customer_Info.Address,Customer_Bank_Info.CustChequeNo,Customer_Bank_Info.CustAccountNo from Customer_Info,Customer_Bank_Info WHERE Customer_Info.AgentID=Customer_Bank_Info.AgentID [/CODE] THERE ARE TWO RECRODS ARE AVAILABLE IN Customer_Info TABLE AND TWO RECORDS ARE AVAILABLE IN Customer_Bank_Info BUT WHEN ABOVE QUERY IS EXECUTED IT SHOWS 4 RECORDS IT REPEATS THE QUERY THAT'S WHY SAME RECORDS FROM THESE TABLE ARE RETRIVED FOR TWO TIMES. … Web Development asp.net | |
Hello, I'm new to ASP.NET. I'm requesting help. I've tried hard but with no result. I want to provide my user a Gridview filled with data from database, allowing him to edit these records not in order to update the database, but in order to insert edited rows in db … Web Development asp.net web-server | |
hi all, I want to know that how can i change the font size of the output in php. suppose this is the snippet echo 'y' echo '$ans' where i want to echo the value stored in variable ans by changing the font size to 12px.so how can i change … Web Development php | |
Hi I use dropdown list box in my asp page... I set the autopodtBack property in that dropdown box true.. at the run time i select some item in that dropdown list box , then page is go to top ..I want stop this... please help me thank you Chamith … | |
Hello, I need your help DP Friends I need to create a script which can accept the contents post to it via email and able to store that in a DB Permanently and able to display that in a php page The individual email sent to it must display as … Web Development php | |
Hi, I have a page that can be called by either post or get. $_request is supposted to handle that. I have never used $_request and am wondering if there are any problems using it instead of checking $_get and $_post separately, which I have done in the past, because … Web Development php ![]() | |
Can anyone talk with me about using buttons on an ASP.NET Page to insert a record? I have two buttons on a page, that need to submit 1 record at a time, but with different results. I'm having an awful time with it. When the page loads, I click Button1, … Web Development asp.net | |
Hello friends, I have one stupid problem with overlapping div and object tag. I have slideshow (.swf) and now I want to add a div tag on the top of the slideshow, but when I try to do this then the div tag is hidden by object tag (slideshow). How … Web Development php | |
I hope you can help. I have a program using 2 pages (main.php and resize_image.php) fragments shown below. Each script works fine independenly of each other. My problem comes when I want to pass a value held on my database held in $story[picture] to resize_image.php..... It simply will not transfer … | |
[CODE]1. protected void Button1_Click(object sender, EventArgs e) 2. {string s="Data Source=Black-PC\\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True"; 3. SqlConnection Conn = new SqlConnection(s); 4. 5. Conn.Open(); 6. string strqry = “Insert into students values (” + TextBox1.Text + 7. “,’” + TextBox2.Text + “‘,’” + TextBox3.Text + “‘)”; 8. 9. SqlCommand Com = new … Web Development asp.net open-source | |
[CODE] $(document).ready(function(index){ $(connectSort).each(function(index, obj){ $("." + this).sortable({ connectWith: ".connectedSortable_" + this, cancel: '.state-disabled', revert: true, start: function(event, ui) {alert(ui.item.attr("title")) }, stop: function(event, ui) { } }).disableSelection(); }); }); [/code] the first function(start: function ..) displays an attribute (title) of the dragged item once the sorting starts. supposedly, the second function … Web Development javascript javascript-jquery | |
i can't find any other posts on this, so.... i have a site hosted at godaddy and i'm using vb.net in dreamweaver to make my solution. i can connect to the database at godaddy by using the database connection wizard in dreamweaver, but i can't get my pages to use … | |
Hello you all, I have used label in repeater to display news content.see the code below. <asp:Label ID="lblNewsContent" Width="1000px" Height="500px" runat="server" Text='<%#Eval("News_Content")%>' ReadOnly="true" BorderStyle="None" BorderColor="#EFF3FB" BackColor="#EFF3FB" TextMode="MultiLine"></asp:Label > Now problem is that how can i give new line in label after certain amount of characters?means i have say 500 characters … Web Development asp.net | |
Hey all, I figured for my new website that it is easier to have a contact us form, instead of just having my e-mail address. I have searched Google and Hotscripts ([url]http://hotscripts.com[/url]) and I have not found anything that is free and easy. I am looking for a first name … | |
Hello, I'm remotely debugging a J2EE application from eclipse. I developed an external tool that will copy the file I modified to the server and then debug the application from the server. It used to work perfectly, but since a few days ago, it doesn't work anymore. This means that … Web Development file-system java-jsp | |
Hello, Because of licensing constraints, we're allowed a single Development server where our application will be installed. Supposing I have the tomcat server running on a remote machine in the company's network, let's say that multiple developers should be able to remotely debug that application. Is it possible?? How could … Web Development java-jsp | |
Hi, I'm a developer with little experience in J2EE. I'm working with an Application called Enovia Matrix, which is an N-Tiers System composed by an oracle database, an RMI server, some "thick-client" applications and a Web-Based interface. I develop using Eclipse, in which I imported the War File generated for … Web Development client-server java-jsp oracle web-server | |
Has anyone there got any experience of using ASP (not ASP.NET - but I'll come to that) with VS2008. The debugger dies whenever you change anything or stop it - which seems inelegant. Microsoft's response is to sniffily tell me that they don't support ASP beyond VS2005 and certainly won't … | |
I tried to use some online resources. All of them covers this much: 1. How to create xmlHttpRequest in cross-browser fashion. 2. How to define onreadystatechange function 3. how to call open and send 4. how to receive and use responsetext and responsexml 5. how to do the server side … Web Development javascript | |
hi frnds.. Here i m trying to attach the file from my webpage..it is working..but when i checking on the mail, the attachment is corrupted and it is not giving any file format [CODE]<?php $e_mail=$result['EmailAddress']; $fileatt = $path; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $fileatt_name … Web Development file-stream php ![]() | |
I'm currently writing a code for a dynami image generating script to return XBox Live gamercards. I've got everything working almost perfectly apart from imagecreatefromjpeg (which I am using to return the thumbnail images of recently played games). My code is below along with a sample image for you to … | |
I can't figure out what the problem is with my code. What I want it to do is add a new sandwich to the database when all fields are filed out and an image is uploaded. If product name field is not entered, the sandwich selected in the dropdown box … Web Development php | |
I have recently being interested in Web security and I have some reading. I then found [URL="http://www.developertutorials.com/tutorials/php/secure-website-login-060817/page1.html"]this post[/URL], and it is great. I would like to hear what do you think is missing or what isn't necessary a.k.a overkill. It is not criticizing as such but discussing security ;) Web Development php |
The End.