20,316 Topics
protected void gridview1_RowDataBound(object sender, GridViewRowEventArgs e) { if(e.Row.RowType == DataControlRowType.DataRow) { LinkButton db = (LinkButton)e.Row.Cells[0].Controls[0]; db.OnClientClick = "return confirm('Are you certain you want to delete the item?');" } }
Is there any way to execute my exe/jsp when user selects File->Print , in IE as well as Firefox? That is in lieu of calling the printer driver function I need to be able to execute a customized piece of code.
I have an updatepanel control in the middle of a page, and i have a link at the top of the same page. I refresh the updatepanel by clicking the link ;however, i want the updatepanel to scroll intoview as well. My javascript scrollintoview method didnt work because updatepanel tries …
Im using VS 2005 for web application.Im using message boxes but they are not working.i dont know what's the problem with my code. [CODE] if (drff.Read()) { Button_Assign.Attributes.Add("onclick", "javscript:alert('Data saved successfully.')"); } /*else { //Button_Assign.Attributes.Add("onclick", "javscript:alert('Data not saved.')"); } [/CODE] my data is saved successfully but im not getting the …
Today I came across to one thread asking for a help to scroll the page so that it displays error Panel. then i decided to create two generic methods in the utility class of my project as follows : if the button is a postback button : public static void …
i search for a ready script for smooth scrolling but i couldnt find any. So i did it myself as follows, it works perfectly function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += …
Hey everybody! I'm new here...just joined today. I'm an amateur programmer...wrote a couple of websites...but I'm still working on uploading them. I'm learning CGI, JavaScript, and Java...already learned HTML and XHTML. This is pretty cool!
i am beginner. if this error occur ; [B]Undefined variable: oCustRes [/B] what suppose i do? i want to use the variable in javascript. when i define the variable, a database error will occur. where should i define the variable? in the javascript or outside? :(
when i insert a image from tinymce, it sets default to 550px X 550px from where can i change these default setting in tinymce ------------------------------------------------------- Sorry guys it might relate to php ... but actually i've problem with tinymce WYISWYG during my php site
Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? Thanks, Ardy Satria H [email]forzadraco@gmail.com[/email]
hey i have a text box and a button on one page. my question is, when somebody writes something in this textbox and presses submit (the button), the output will be shown on other page... so i need to know what code to put Thanks, 7arouf
Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com or sourceforge where we wil download and popup newsletter show... where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? …
I am trying to do a store page for my class. I have a perl script that generates simple HTML tables. The store pages uses ajax to load the tables into the form. The form has all the elements, but when I submit, there query string is empty. I tried …
Can someone help me? I have a enquete script with checkbox answers for question when more than one anwer can be choisen but de script will only write de latest answer to my txt file. Can someone help me? This is the first time i work with PHP. <?php # …
hey im really new with javascript. can someone tell me whats wrong with this? [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <title>calculate distance and slope between two points</title> <script language="javascript"> <!-- var x1=0; var y1=0; var x2=0; var y2=0; var xdif=0; var ydif=0; var …
I have a parent div=body, and four child div's=sidebar (dark gray), spacer1, content (white), and spacer2. Those are not the backgrounds of the individual div's. I'm using a faux columns method of taking the parent's bg and y-repeating it. You can see the problem below. This works in IE6, but …
I will start this thread with a problem that I am trying to solve. I have searched for a solution, and can't find one, and daniweb.com users have been a great help in the past. This is a tricky one for me.. I hope we can find a solution. All …
Hi all On my jsp page i m having two tables.. first table have 14 rows which takes input type=text. and my second table is having 9 rows which also takes 9 inputs. Thus total 23 inputs on a form.. Now when the user click submit, i want to check …
haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz
Can someone help me figure this one out, in an efficient manner? Someone will be submitting text, in huge blocks, and I wish to have a function go through the text and search for either pre-defined tags or for http:// or www. and create a link out of it. Accepted …
Help, I have a web based form containg values typed in by the user. The first value is called noItems, which is outside the form. The form contains a persons name, the number of items,noSub, thay have submitted and their final grade. I need to use noItems and noSub to …
Hello List! I'm having a problem getting a line break/feed on a page...I'm passing parameters from one page to another (this particular one is being passed to a textarea), and would like to pass them with page breaks between them... Here's my current code [code] <script language="javascript"> openIssuesWindoid('../../GUtilities/IssueCreator/IssueCreator.asp?name=<%=session("userFullName")%>&email=<%=session("userEmail")%>&summary=Station Type Change …
Hi I want Download from rapidshare site but I can,t That site messege me "USE JAVA SCRIPT" Please help me for download it .
I have a form text field called "field_0", and javascript code: [ICODE] <script language="javascript"> function test() { var a=document.form1.field_0.value; alert (a); } </script> <form name=form1 ....> <input type=text name=field_0> <input type=text name=field_1> <....onclick='javascript: test();'> </form> [/ICODE] if I run this, it pops up correct message box with the "field_0" value. …
Hello, I am new to this and have run into a small problem. I am using the Ajax toolkit with VS 2005 to fill some drop downs through a web service and it works great. All of the cascading drop downs work correctly. The only problem I have is I …
haii... pls help me to get the cursor position in javascript....from textArea thankzzzzzzz
I've been working with a PHP site and below is the code for my index page.. how can i check the data first before going to POST? can i do it with a javascript? if the textboxes are blank it will not POST and just give a message.. and How …
i have a web page with an array of text messages which i want to 1) shuffle, and 2) scroll. first the shuffle part. right now i can scroll one random message per refresh of page. i want to shuffle the list and then change the scroll function to display …
Hi all On my jsp page i m having two tables.. first table have 14 rows which takes input type=text. and my second table is having 9 rows which also takes 9 inputs. Thus total 23 inputs on a form.. Now when the user click submit, i want to check …
Hi all i working with HTML when my first web page is going to displayed it should be in the width and height according to my need . like a rectangle window or square or like a pop up window. How can i set the width and heght for the …
Hello everyone, For the navigation of my website I have decided to use a Drop Down Menu which I have inserted into the side menu template so it shows on every page. This is all fine except when you click on it the first time then its successfully loads the …
thispage.jsp displays user id and name in a table format with radiobutton attached to each row.... [CODE]while(enum.hasMoreElements()) { String upid = (String)enum.nextElement(); String upname = (String)enum.nextElement(); %> <tr> <td> <input type="radio" name="idradio" selected="false" value="<%= upid %>" /> </td> <td> <% out.println(upid);%> </td> <td> <%out.println(upname);%> </td> </tr> <%} %>[/CODE] nextpage.jsp needs …
I have roughly 700 lines of javascript code going on a new site with ASP.NET. I have a question, and sadly cannot perform the competition at this moment. Would be be better and faster to just include a javascript file through masterpages, or would it be better to use stringbuilder …
Hai, This is something to save me and osme other people some time. Basically i need to read data from a text file and put that data in a a web form. It will be easy to read the text file but I don't know how to stuff that information …
Hi all, Actually, I had posted a thread in the [URL="http://www.daniweb.com/forums/thread111829.html"]php forum[/URL]. But I don't know the javascripts and AJAX very well, so would like ask for help from anyone here. The code below is originally from [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts.[/URL] But this didn't work for my case. Does anyone know about …
Hello , i am new to AJAX. I don't know anything about AJAX. Can any one tell me What is AJAX. In which language we can use it.. and how.. , need of AJAX. Or any link to refer. Thanking You.
Hi Hope is the correct forum, let me know if I should move it. For work I need to use an internal website the problem I have is that since I upgraded IE7 I cannot see it correctly, looking at the source I can see the script below <label for="supGrpSrch">Search …
Hello All, I am working with an array of objects that contains names and descriptions. For example: Car : A blue jetta Pet : A small dog . . . My question is since it is an array of objects, how can I extract just the name "Car" or just …
I've read quite a few of the posts on this forum and others about similar problems but i can still not fix this annoying prob! It only started a few weeks ago I think, but can't think what changes I made, if any! :confused: I click on a link and …
in my form after filling all details click on the submit button after inserting the data iam getting the same page with empty fields, till this ok i want to display in that form one confirmation message along with empty fields like Date inserted successfully
Hi all, i know a lil bit PHP and im trying to use AJAX in my PHP script can u tell me where the good resources/tutorial to start learning this thing :?: Thx before
:) hi to evry body ........... :) iam new this site and new to website dev..technolgies presenltly iam learning php,my sql html, javascript and css i am expecting use ful things form this community which may helps to bulid my career
hii,,,i m using asp.net 2005 i have given login control manually using forms authentication and all.. on proper username and password it opens first.aspx....everything is workin fine. what i want is tht first.aspx should open in a pop up window with specific height and width.heres the code for login [CODE]<script …
I have a classic ASP form with a date input. I would like to have a javascript datemask for the textbox, but I need it to ideally respect localization settings. I've found a number of masks that look like they would work for the US, and I may try hacking …
hey...I need urgent help I have 2 comboboxes on a form and when I post the results back to the page 1 comboboxes continues to show but I need it hidden.. here's the code: [code="HTML"] <td><strong>or Owner</strong> <td><SELECT id="cboGpOwner" style="WIDTH: 96px;" name="cboGpOwner"> <OPTION value=0 selected> </OPTION> <OPTION value=1>AI</OPTION> <OPTION value=2>PAL</OPTION> …
Hello, I am trying to protect some files from anyone typing in the url and being able to view them. Particularly FLV files. So I have placed them in a directory one level up from web access. However, now I can't use my flash player to access them since they …
Hi all, I'm having the problem while using the [URL="http://24ways.org/2005/edit-in-place-with-ajax"]edit-in-place scripts [/URL] from internet. It's ok when i just used for one text id, but after i added a while loop because of multiple items and it become only the 1st text id content works. So below here i post …
Hello all, I want to transform an xml file on the fly using javascript. I want my xslt xpath information to be dymanically generated on firing an event. e.g. I want value to be passed to my xslt document when a user picks a drop down mennu or select a …
iam new to ajax i did some examples in jsp using Ajax really its very nice now i want to put Pop-up ballon i think using this without put view button in my screen, to view the particular item details within page plzz provide me its urgen for me
list of first drop down menu get from database mysql, and list of second drop down menu is according category what first drop down menu select. example case: we have two drop down menu. first list (funny, action,drama). when i select funny, list of second drop down menu dinamically display …
The End.