jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for lordx78

[code=html] <select name="test1" style="width: 200px"> <option></option> </select> [/code] This is typical drop-down box in html forms. My question is, hot to make the option to capture current date. Or Must I use any other function than drop-down box. Please advise.

Member Avatar for lordx78
0
175
Member Avatar for sufiguy

i am stuck in a prob... i wanna dat wenever i send a msg to ma frnd(i do coding in php), a popup or a bubble type msg appears on his screen without page refresh... Please please please please please please help me..... can u get me outta this prob:'( …

Member Avatar for sufiguy
0
101
Member Avatar for computerman11

I have a blueprint of a building that I have scanned into my computer. I am looking to have a menu of some sort where I can select what room I want to color, and another menu to change the color. Any ideas?

Member Avatar for computerman11
0
106
Member Avatar for adrumsolo4u

i have three "buttons". when each is pressed i want to 1.) detect if it is not hidden, if so, return (do nothing). 2.) detect if another button is not hidden, if so i want it to hide that button and continue to the third. 3.) i want it to …

Member Avatar for adrumsolo4u
0
101
Member Avatar for arif_iskandar

I got a problem in order to access the value for my radio button. I'm developing web application system that allow user to book something. so, i display the detail in list.But, i don't have any idea how to access the value.. this is the coding [code]<%@page import="java.util.*" %> <%@page …

0
77
Member Avatar for HenryForbes

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 …

Member Avatar for digital-ether
0
85
Member Avatar for adrumsolo4u

what i am trying to accomplish is to have two elements lets say SEND and RECEIVE. when i click the element SEND i want the RECEIVE element to receive the effect. currently my script only effects the element itself: [CODE=javascript]var animElements = document.getElementById("send").getElementsByTagName("p"); for(var i=0; i<animElements.length; i++) { animElements[i].onclick = …

Member Avatar for digital-ether
0
97
Member Avatar for kishou

ok so i have a page where the user clicks something the page sets a cookie.and its in the onlick event. But for some eird reason it won't work doesnt any1 know why? also i created a function for setting cookies but it still doesnt seem to work.

Member Avatar for katarey
0
63
Member Avatar for adrumsolo4u

i have been trying to find a way to do it, but i can't seem to think of one. i need to do this: [CODE=javascript]var animElements = document.getElementById("resizercontainer").getElementsByTagName("p") for(var i=0; i<animElements.length; i++) { animElements[i].onmouseover = widthChange; animElements[i].onmouseout = widthRestore; } function widthChange() { if (!this.currentWidth) this.currentWidth = 150; doWidthChangeMem(this,this.currentWidth,170,10,10,0.333); } …

Member Avatar for adrumsolo4u
0
148
Member Avatar for austind

I've been working on re-designing my website, and I decided to add a javascript based slideshow to go on the front page to link to articles. I know next to nothing about scripting (XHTML/CSS is my thing). The question I have has to do with the slideshow loading incorrectly because …

Member Avatar for digital-ether
0
99
Member Avatar for CathInfo

[CODE]var s = document.getElementById('field[12]'); var cust_cc_exp_month = s.options[s.selectedIndex].value; // This displays the correct Value -- which is "0" for item #0 = "Please select..." alert("Month: " + cust_cc_exp_month.toString()); if (cust_cc_exp_month == "0") { // This code never executes! } Here is the HTML portion: <select id="field[12]" name="field[12]"> <option value="0">MONTH</option> <option …

Member Avatar for digital-ether
0
108
Member Avatar for kishou

ok i have a iframe and i want it so that when someone clicks a link inside it it opens in the same window. not a new window. i was thinkingof using onclick but it would be too much work.

Member Avatar for digital-ether
0
67
Member Avatar for geoffi

Hi I am looking for a scrolling solution for a site - I want to have images scrolling on the screen from when the page downloads and then offer the ability to show an enlarged pic by mousing over a thumb nail. I am being told this is not possible …

Member Avatar for maruszka
-1
122
Member Avatar for sbader7

My name is Sam, and I'm taking Honors C++ at Ravenscroft in Raleigh I have a background in Java, and have worked with Lisp, Game Maker, (X)HTML, Javascript, CSS, and several programming languages/tools I have little memory of. So hey!

Member Avatar for Serunson
0
25
Member Avatar for themailsian

Dear Sir, Can I use SQL query with in the Jave script being used in ASP page. If i can please reffer me some samples code. Actually I have made a form in ASP code it contain a combobox with items from the database. on the selection of any item …

Member Avatar for sbv
0
82
Member Avatar for u4umang2001

Hi i want to bind a drop down list on the other drop down list selected index change event. i m using the following code--- ddlid.Attributes.Add("onchange","javascript:callfunction(this);") function is written in a seperate js file. this works in IE but not in Mozilla... plz give me the solution so that it …

Member Avatar for balajipdv
0
337
Member Avatar for vashishth_kec

hi, i m having a problem on on uploading this site it is giving unexpected object error plz help me </head> <body onload="afterload()"> <img src="images/ICB Blue_top arc.gif" id="toparc"/> <div class="content"> <img id="logoimg" src="images/ICB Blue_logo.gif"/> <div id="registerDiv"> <FORM name="drop_list" action="mobisyregister_.php" method="POST" onSubmit="return ValidateSelect(this)"> <table cellspacing="0" cellpadding="5" border="0" width="100%"> <tr> <td valign …

Member Avatar for MidiMagic
0
113
Member Avatar for vedmack

Hi i have a form which holds several Inputs of type text, now when im clicking on a check box it run a js script which gets each Input text element and colors its background with a color something like this [code=javascript] var filed=document.getElementById("one"); filed.style.backgroundColor='red'; filed=document.getElementById("two"); filed.style.backgroundColor='red'; ... .. . …

Member Avatar for MidiMagic
0
2K
Member Avatar for web_lock

I'm facing a problem with Firefox. I've got a page with a input text box element within a form . On the Click of Submit , I would like to open a new window with width =1200 and height=900 . I've used the following code [code] <form name='form' action="login_check.php" method="POST" …

Member Avatar for MidiMagic
0
135
Member Avatar for CathInfo

Please, anyone, tell me how can this be: [CODE] var cust_state = document.forms.info.dropdown_a.value; // Displays "TX" or whatever state was selected. I tried removing this line; it doesn't help. alert("State: " + cust_state); if (cust_state == "XX") { eval('document.forms.info.dropdown_a.style.backgroundColor = "#FFCCCC";'); eval('document.forms.info.dropdown_a.focus();'); alert("Please select a State from the drop-down box."); …

Member Avatar for MidiMagic
0
87
Member Avatar for patrickmcdonogh

Hi everyone, I was wondering if someone could help me do something i would like to do. I want to create draggable boxes with content in them like standard html, etc. These boxes can be dragged around closed and there content hidden. The type of boxes i am trying to …

Member Avatar for tulsafork
0
96
Member Avatar for Suetan

This is just something that I'm working on for my own website. Could someone please check this over real quick to see if I have any major errors in it? [CODE=PHP]<?php /* index.php created by Suetan Start Date: Wednesday January 9, 2008 Project: RPGCMS Version: 0.0.1a */ define('IN_RPGCMS', true); $root …

Member Avatar for Suetan
0
214
Member Avatar for nova706

I am looking for a way to pass a variable from one form to another form in a new page. Bassically when a person clicks 'register' for a specific class, I would like it to open up my registration form and automatically fill in the class name and perhaps other …

Member Avatar for peter_budo
0
112
Member Avatar for savola28

Hi! I wonder if there is very simple way to convert SVG format images to gif format. For example: <img src="ImageConverter.js"> ImageConverter.js gets the SVG-image from somewhere and returns image in gif format.

Member Avatar for peter_budo
0
60
Member Avatar for tgreer

I've posted a new article on my site, dealing with how to integrate JavaScript and ASP.NET. It's a "beginner level" article. [url]http://www.tgreer.com/aspnet_html_03.html[/url]

Member Avatar for SheSaidImaPregy
0
227
Member Avatar for MikP

Hi all, I'm a n00b at Python and am working on outputting html using pyhtmloo - I've checked the [URL="http://sourceforge.net/docman/index.php?group_id=89844"]pyhtmloo site[/URL] for guidance but no joy there. Hopefully I'll find guidance here... The python code below outputs an html page and what I'd like to do is set the refresh …

0
62
Member Avatar for nova706

I am having trouble with a piece of javascript code that expands blocks of text. For example, when you click the title, the text under it will expand. I am fairly new to javascript but it looks like the code bassically re-writes the link in the html so that when …

Member Avatar for peter_budo
0
179
Member Avatar for ultratut

<?php function extract_url($main_url){ $cek_url = parse_url($main_url); $prefix_url = $cek_url['scheme'].'://'.$cek_url['host']; $f = fopen($main_url,"r"); $inputStream = fread($f,65535); fclose($f); if (preg_match_all("/<img.*? src=\"(.*?)\".*?>/i",$inputStream,$matches)) { foreach($matches[1] as $link){ if(!eregi('mailto:|javascript:|ymsgr:',$link)){ if(eregi("http://",$link)){ $url = $link; } else{ $url = $prefix_url.'/'.$link; } if(eregi('PHPSESSID',$url)){ $url = explode("PHPSESSID",$url); $url = substr($url[0],0,-1); } $output[] = $url; } } } return $output; …

Member Avatar for nav33n
0
302
Member Avatar for dami06

Hi Guys, I have a code which seems to be working fine. I have used zend to debug it but there is nothing wrong with the code. The problem is i'm creating some webpages on my laptop and when i try to create a group the page tells me " …

Member Avatar for dami06
0
79
Member Avatar for Tom Tolleson

Hi everyone. I have sort of a simple question: I have need to replace one object (an image) with another object (a textfield/form object). I want the switch to occur when the user clicks on the image, and have the textfield appear in the same location. Is this possible? Thanks! …

Member Avatar for phillman17
0
122
Member Avatar for Papikos

Hello! I got a Web Site ([url]www.papikos.com[/url]) which shows well in MOZILLA (check it out). In IE is shows bad, on the left, right side too much space and the header is also not good (please check it too). Can somebody help with the according SCRIPT to make it look …

Member Avatar for MidiMagic
0
104
Member Avatar for davidianstyle

Hi Everyone, I'm fairly new to DaniWeb and I was hoping I could get some advice from all you experts out there. I registered my own domain name and got a host a few days ago and am planning on building a personal website based on Ruby on Rails (I'm …

Member Avatar for jenishkottaram
0
174
Member Avatar for brr

plz help me how to do select/dropdown iam new to ajax i followed the example select/dropdown from sourceforge net but its not possible how to do it using [B]jsp[/B] plzzzzzzzzzzzz help me in this, send me the code how to do it in jsp

Member Avatar for MattEvans
0
291
Member Avatar for muddpigeon

hi im new to this javascript business and have a problem with the following code [ICODE]<HTML> <HEAD> <TITLE> SOFASPEND - IN THE BEST POSSIBLE TASTE </TITLE> <SCRIPT LANGUAGE = "JavaScript"> /* Program to prompt for a number and then display message according to the response but allowed 2 maximum tries …

Member Avatar for ShawnCplus
0
198
Member Avatar for srinukatkam
Member Avatar for srinukatkam

Hi i want to need javascript using datagrid, for example i have a datagrid and in datagrid above two check boxes 1)checked and 2) unchecked .In datagrid also 5 checkboxes is there ,if i clicked checked all checkboxes will select and if i'll clicked unchecked all unselect checkboxes will select …

Member Avatar for aravelli
0
221
Member Avatar for rybo

Hey guys, so i'm not great with JavaScript since i mostly do HTML and C++... ok, so i have a site with a "contact" box that sends me the users message. i want the text to clear when the user clicks on it, but for some reason, i can't get …

Member Avatar for aravelli
0
97
Member Avatar for runtime error

i got an assignment it has to display the mouse pointer and at the same time the x and y coordinate. can anyone help me? i've found the codes for displaying the mouse pointer just got some problem with the implementing side. thanks a lot.

0
68
Member Avatar for brr

how to get data in textbox from database when item selected in listbox in jsp without refreshing the page, i had code that refresh the page. if not in jsp even possible in javascript or any plz........thanxs in advance (max try in jsp)

Member Avatar for brr
0
93
Member Avatar for BenR41

Check to see if a cfwindow exists When a window gets created by <cfwindow> coldfusion gives it a unique name and not the name you assigned it. I have found a work around in the way of checking for the title of the window as when you create a cfwindow …

0
49
Member Avatar for ashercharles

hai guys i have generated a captcha image and i want the image to change every time the user reaches the page.......... the code seem to work well with IE but in firefox the image does not get changed .......i tried "onload" command but the image goes on for an …

Member Avatar for ashercharles
0
291
Member Avatar for ceyesuma

Yes it's should be simple.Can anyone tell me why this won't right a string in the flippin body? Thanks [code] <!-- Document : computer_object Created on : Feb 23, 2008, 11:47:50 PM Author : James Howerton --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>computer_object</title> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for DangerDev
0
86
Member Avatar for tylerrr

Hello, I am hoping one of you guru's can help me out. I am new to Javascript and a bit of a hack at HTML. The following works correctly in IE7 but doesn't work in Firefox. Any idea? Also, is there any way to get IE to quit waring people …

Member Avatar for DangerDev
0
309
Member Avatar for nameunknown

Hi everyone, I currently have this script on my page that allows users to add and remove rows in the page. I have a another script that calculates a value on the dynamically generated elements and static ones too. my problem is, I cant figure out a way to pass …

Member Avatar for DangerDev
0
134
Member Avatar for TobbeK

Is any way to fill an ASP variable at clientside with javascript. I like to use that value to send as a string with a textlink like described below. <SELECT ONCHANGE="location = this.options[this.selectedIndex].value;"> <option value="">Choose something</option> <option value="0">------------------</option> <option value="1">option 1</option> <option value="2">option 2</option> <option value="3">option 3</option> <option value="4">option 4</option> …

Member Avatar for katarey
0
771
Member Avatar for martinkorner

I have some music in the background of my website (Let it snow.mp3) - using the following code: <script language="JavaScript"><!-- if(navigator.appName=="Netscape"){ document.write('<embed src="let it snow.mp3" autostart="true" loop="true" controls="SmallConsole" width=50 height=15></embed>');} else if(navigator.appName=="Microsoft Internet Explorer"){ document.write('<embed src="let it snow.mp3" autostart="true" loop="true" width=70 height=25></embed>');} else{ document.write('<embed src="let it snow.mp3" autostart="true" loop="true"></embed>');} //--> …

Member Avatar for MattEvans
0
175
Member Avatar for bosanava

Hi I built a website in dreamweaver, (on a mac). The pictures are aligned great, in Firefox and Safari. When I open Explorer, the picture at the homepage is smaller and doesn't cover all the cell. it's in the middle and there is a lot of black around it. How …

Member Avatar for MidiMagic
0
105
Member Avatar for anidotnet

1. how to call a Javascript function onClick on GridView Header [on Sort Link]. 2. How to access a Header Template column of a gridview from code behind Thanx in advance

0
56
Member Avatar for jiggaman82

Hello Friends, I am having trouble figuring out how to get me Radio Buttons to search my database. Everything is up on the page and when I select enter it just shows all the items as if nothing was entered. There was already a set search button in the script …

Member Avatar for sagedavis
0
111
Member Avatar for madhav_2k

i'm fascinated by the tooltip or the information bubble , which pops-up on this page when I point my cursor on a thread title. Does anyone know what it takes to code something like that? Is it possible with PHP, javascript or AJAX ? The attached image shows the tooltip …

Member Avatar for squid44th
0
190

The End.