20,316 Topics
I would like to make a button that will save the current webpage you are viewing like clicking FILE>SAVE AS in IE, FF, etc. Once clicked you can "precode" the default name of the file based on the variables used in the webpage. Also I if possible I would like …
Hi mates.. I would like to ask you small question and I do really appreciate if you helped me out. I want to make a VERY SIMPLE "Poll" using Javascript here's my code, below it I'll tell you what I'm stuck at: [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …
Hello all. I would like to add a small handler. Imagine that i have a listbox, and when i right click i want to appear a menu with two options . How can i do it ? Thanks in advance.
Hey all, This is my first post, glad to be on the forum. I am currently the administrator of a e-commerce solution hosted by net firms and and having trouble loading Ajax on parts of my site. The java script is my site navigation on the left hand side and …
Hi all, What I am trying to achieve, but have no idea how to go about it, is I want to use a template banner/navbar/ that I have created myself for all pages on my site. Is it possible to add a "include file" into my html pages so that …
Hi Guys! I need help with something that I can't figure it out on my own. I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to …
Hi. I started looking into JavaMail today, and I got the basics down. But when I sent a message to my friends Gmail account, it said that the message my not be from me, and was sent to spam... does anyone know why?
Hey fellas, I need some help doing on action changes This is what I got. I have a loop that has the form name "autoEmailRedirect" [code] <form name="autoEmailRedirect" method="post" action="autoEmailContact.jsp"> <td valign="top" class="paddingLeft10 paddingTop9"> <div class="paddingBottom2 boldFont paddingTop20"><%=(String)autoName.elementAt(i)%></div> </td> <td class="paddingTop9 paddingLeft" valign="top"> <div class="paddingBottom2 paddingTop20"><%=(String)autoEmail.elementAt(i)%></div> </td> <td class="paddingLeft11 paddingTop9 …
Hi I need some help, I currently have a timer that counts down and what I would like is when the times runs out it then displays text or html (answer to question). I currenlty have the timer counting down and a seperate js show answer link that will show …
HI all, I have done some work using javascript and css and html. Let me explain whole work: there are two select box one is for adults and other is for childs. I have done all rows are by default are invisbile when we select 2value from adults its will …
Hi Friends, I am trying to make an application which will have a configuration form.That form would be having next and previous buttons. Clicking on next button should display different content on the same form. Please suggest different ways to accomplish it.
I got this source code from internet. This source purpose is to call ASP.Net function or method from JavaScript. [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb" Inherits="Default5" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <!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 id="Head1" runat="server"> <title>Developed …
22 Hours Ago | Add to redhotspike's Reputation | Flag Bad Post I have never used PHP before. I'm pretty hardcore with (x)HTML, JavaScript, CSS, and I also know C++. Here's the thing - I need to create some sort of code that receives information from the back end of …
I have a web page where the users are supposed to be able to click a button to add a new table row. I have tried various javascripts found online but I am not a javascript person. The page is written in html and asp. I dynamically fill in the …
HI everyone, i am writing a web application but i need to validate certain strings from the client side using regular expressions in javascript. i want to validate phone numbers for my country, Uganda. can anyone help me with a regular expression validation script that allows any number starting with …
Hi, In my website i am planning to do portfolio things in that i gave fade in fade for all images this is working with same size of image.But i have images like this sizes 500/300, 300/150 like if i give this images into portfolio that time if one image …
Can anyone please help me: I want to redirect some users based on their location. Is it possible to do so using JavaScript? If yes, please write the code for me!
my requirement is to create an excel using javascript . i have the results in table format .do any one know how to do this?
Hi All, I need to create a HTML page which plays live audio. (I know to play an audio file using <object> tag) But my requirement is to stream live audio please help me to solve this. Thanks
Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …
You must do three things to solve this problem : 1) in the object tag add the following parameter <PARAM NAME=wmode VALUE=transparent> 2) in the embed tag add the following attribute <EMBED src="jet.swf" wmode=transparent .... 3) add the same name-value pair to the following script <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' ,'wmode','transparent',...rest …
Hi guys, I have a php page and the alert i write in JavaScript. When the users fill up the form and click on submit button on next page it will out the alert if do not fill up the name. So the question how can make it display on …
Hi everyone Plz reply..its urgent I am trying to track progress of a database operation . and want to dislplay percentage progress on page asynchronously. Process.jsp - In this i used javascript to call ajax function continuously which returns precentage progress. My Code is : [code] <!DOCTYPE html PUBLIC "-//W3C//DTD …
Hi All, Can any body suggest or share code for following scenario: - In a php file I am getting some message. - once the message arrives it should popup a dialog or window with the message. - if poped up is an window it should not have close button …
Hi, I'm not really a programmer, but have been tasked with performing some AJAX functions to make a call and return results to my page using getElementByID. I have been able to return search results to the page, but now need to make them clickable as it will lead to …
I have alot of home videos I want to put on my website, and it seems that the easiest way to do it would be to embed it onto my website using HTML script. Problem is, I have no clue how to convert in into HTML script. Could someone please …
Hi All, I am trying to create a combo box with horizontal scroller. i.e. Combo box will have a fixed width, if any of its options have higher text, then horizontal scroller should appear automatically. I also tried placing a <div> around <SELECT>. But not getting how to apply styles …
Wonder if anyone knows what's going on here... I have a page which is generated via Perl that prints a number of data entries in a series of table rows. Each <tr> is assigned a unique id through perl, and when user mouseovers on each individual <tr>, the javascript is …
Hi all I have javascript function that insert text into freetextbox at current cursor position. It works well when I call this function onClientClick event passing a string as a parameter (This string is inserted into freetextbox at current cursor position). My code is as follow [code]<FTB:FreeTextBox id="FreeTextBox1" toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu, FontForeColorPicker,FontBackColorsMenu, …
Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time …
hi, Im just a newbie in java, I really want to learn but sometimes I lost my guts to learn coz Im always stuck on something, for example in JTextField UI, I want the UI to accept just a numeric input and prompt the user when the input is not …
I am quite new to page layout and I have an issue with a Fireworks created menubar and tables. First, everything works in every browser except IE. Of course! The menu drop down goes behind the table data. Also, the tooltip display in IE only shows partial image. Any help …
Hi everyone, I would like to set a label's text when a dropdownlist item is selected I want the label to display the value of the item, not the text. Is there any way i can do so without refreshing the page i found the update panel loads far too …
Hi everyone, I've whipped up a simple validation script to vaildate simple form elements. My issue is when i submit the form without any data it works correctly. It catches on each individual element and reports the error. When the fields are populated correctly, i am receiving an error message …
alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …
Hi, For 2 days i have tried to access a button, by a string value. In javascript this would be very simple, but i can't seem to get it done with c#. Can someone please tell how me to do the following? [code] string buttonname; buttonname = "btnAdd"; buttonname.Enabled = …
HI all, I have make two form. one in which i will fill value then is will go in next page after submitting with $_Post['value'] . But i need this value in my javascript code in next page . So how i can fetch this value in my javascript code. …
I'm currently developing a web page that accesses a CGI string to query an application and return results to a page: [url]http://empress-media.net/jimflynnrentals/gear_test.html[/url] The CGI string is: [url]http://servername/cgi-bin/nph-omniscgi?OmnisLibrary=tbsWeb&OmnisServer=5912&OmnisClass=rtPublicSearch&MethodName=search&SessionID=PUBLIC&bXML=1&bXMLData=0&SQLClassName=qCategoryLookup&SearchCriteriaString=STYPE_CATEGORY%2CNOT%20%25LIKE%25%2Cggg[/url] It currently works to return the list of categories. It uses Javascript methods to return the results to a DIV on the page …
I NEED TUTORIAL or help so i can understand how to make my own that doesnt reload ever. please. help me my site is in peril without one!!!! i cannot use a premade one i actually need a tutorial or something so i can make my own. please any info …
I found a principal differece between the behavior of staticaly (HTML) coded object – the table row, and the same object created dynamicaly (DOM) with createElement() addChild() methodes. The folowing souce creates one HTML row and one DOM row and gives buttons to duplicate each row. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …
Hi all, I have made to select box in which one is adult and other is for child . adult select box have 1 to 10 numeric value and child have 1 to 10 numeric value. but now i want to make if both of select box total is greater …
On my Drupal site I have a block which I've set up with a couple of links at the top. I want to change the content of the block depending on which link is clicked. I'm pretty sure you can do this as I've seen sites with this functionality, but …
Hi All, This is the parent issue that led to the post [B]Need help with getDOCTYPE() function[/B] ([url]http://www.daniweb.com/forums/thread196837.html[/url]) [B]USING THE BODY METHOD:[/B] The following code will properly get the viewable window area if no DOCTYPE is specified. [icode]document.getElementsByTagName("body")[0].clientWidth//Height[/icode] [B]OR[/B] [icode]document.body.clientWidth//Height[/icode] If DOCTYPE is XHTML ANY* the above code reports only …
Hi all, I am not sure where to start with this one really. I have built the template for my site but, having a few issues in trying to impliment certain things that have to happen. This site needs to have 3 types of user. I am using a generalization …
Hi, Can anybody send me the code for selecting image from system through multipart/form. Once it is selected, there should be option for cropping with preview. There are lots of cropping codes in internet, but i couldn't find anything with jsp(all are in php and javascript). I need it in …
I'm sure this is a nOOb questions, but... I have a form that's action is an external page and the onSubmit action on the form is blocking ANY javascript validation I'm trying... I've tried all the following options; Spry validation, Dreamweavers built in validation, Webassists server and client validation... If …
Hi, When a web browser window is opened, only the menu options should be visible to users. I don't want other toolbars. Also, is it possible to blocking users add toolbar from the menu that will be visible to them. IE and Firefox please. Thanks in advance
Hello, I want to [B]log out[/B] the user when close the browser, so i need to call the java script function when close the window. I used the [B]onunload [/B]and [B]onbeforeunload [/B] event but it should call on each page navigation and page refreshing. My necessity is, The function should …
Dear all, I used to use pure ASP.Net code like this : [CODE] Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim S As String If TxtCustomerID.Text.Trim = "" Then S = "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w = screen.availWidth; h = …
The End.