15,120 Topics
| |
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 … | |
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 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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
[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. | |
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? | |
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 … | |
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 … | |
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 = … | |
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. | |
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); } … | |
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 … | |
[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 … | |
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. | |
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 … | |
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 … | |
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'; ... .. . … | |
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" … | |
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."); … |
The End.