15,688 Topics
![]() | |
i used the String.length(string) function in javascript to get the length of string but nothing happened. It doesn't give me a value when i tried to view the result using an alert function. Actually, this kind of problem does not only exist with the length function, it's also the same … | |
Hi, I'm working on a simple WYSIWYG editor. So far everything goes well, except for one thing: Most (or, every, probably) WYSIWYG editor I know that has the B, I and U buttons, applies a 'click' effect when the text you are typing is bold, italic or underlined. So when … | |
hello! is there a way that a control outside the updatepanel can read the content of a textbox in the updatepanel? because i want to create the create wizard of a user so i want for the username an updatepanel so i can refresh only this updatepanel because i want … | |
[CODE]function showModalSummary(path, ownerWin, pos, passObj, onClose, title, setFocusEnabled) { path = rootPath + path; if(!title) title = ""; // var doc, dl, features=''; if(!pos) pos=new Object(); if(!pos.width) pos.width=300; if(!pos.height) pos.height=200; if(!pos.left && pos.left!=0) pos.left=(screen.availWidth-pos.width)/2; if(!pos.top && pos.top!=0) pos.top=(screen.availHeight-pos.height)/2; if(isMoz) { pos.height-=27; pos.width-=6; features = features.replace(/:/g, "=").replace(/;/g, ","); } features = … | |
Hi guys, The tabbed menus work, but not in MS IE and I don't know why. The tabs appear, but the content of the tabs just sits all in one panel. Clicking the second tab does not activate the second content panel. My code is a bit messy but I … | |
I have an ASP.NET (2.0) web page for our company Intranet which uses Ajax via Javascript to communicate with an application server via UDP. The web page needs to constantly listen for UDP data to be received and occasionally send UDP data when the user clicks a button. I'm having … | |
I run a social networking site and it has an advanced newsfeed feature. I want to use a clickable AJAX link to refresh just the newsfeed and not the entire page. The code is held in a javascript tab as seen below and I've already added a basic link to … | |
How can I keep the flyout visible, that's triggered with the "By Neighborhood" hover? My script: [code] <!--Sunday 100815--> <!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> <meta name="description" content="Save money" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>savebop </title> <script type="text/javascript"> //<![CDATA[ function showmenu(elmnt) { outerdiv=document.getElementById(elmnt); outerdiv.style.visibility="visible"; //now … | |
hi i'm hoping to have a file 1.php, which takes in a userid via form input, which sends it to file 2.php which shows you available options depending on your userid, and a file 3.php which alters database values depending on your action, and applies it to values corresponding to … | |
Can you help me with the equivalent code of this in firefox? Thanks in advance. [CODE]<html> <head> <title>Event Handling</title> <script type="text/javascript"> <!-- //MOUSE COORDINATES function updateMouseCoordinates(){ coordinates.innerText = event.srcElement.tagName + "(" + event.offsetX + "," + event.offsetY + ")";//works on IE not in firefox } //--> </script> </head> <body onmousemove="updateMouseCoordinates()"> … | |
Hi, I'm having trouble getting access to a Radio button. I found on the internet that I can use: [CODE]document.form_name.radio_name[number].checked = true;[/CODE] So I'm doing that: [CODE]document.hitForm.Answer_1[0].checked = true;[/CODE] But it isn't working. I have included a picture of the Chrome Dom inspector. [URL="http://yfrog.com/n0radiobuttonsj"]Pic[/URL] The first circle points to the … | |
hi i am hoping that i can explain my predicement properly. i have a form on a page that is working the jquery form plugin. if i use the form in a normal html environment then the form works and the success is placed in the correct div '#f1'. however, … | |
Hi, I need to replace "Link Text" with the value in the variable (myNewString). myNewString is just text e.g hello code document.write(myNewString); <a href="welcome.html">Link text</a> i need some thing like the below or even a php version of it <a href="welcome.html">(myNewString)</a> --this syntax is incorrect it seems THANKS!!!!!!!! | |
hey... I know this is real easy to do and all... but I just can't remember how to do it... I have a textarea named 'code' and a completely empty div [CODE] <div> </div> [/CODE] the textbox get's filled with html code... (dynamically of course) and now I need to … | |
what is the function of: <script> <A> HREF Definition List <comment> | |
Hi, I would like to replace the vertical scroll bar with a div of my own. I would have just cancelled the scroll bar, and created a div, but I want it not to override what is in the containing div. How can I do that? Thanks, Sharon | |
Hello everyone, I have a working page in PHP. What this page do is student will keyin his/her ID and press Papar (Display in English) and th result will be shown in the same page in a lightbox. The problem is (well not really a problem) the page need to … | |
I need to round down to the nearest quarter hour (or .25 in decimal) via Javascript and have not come across any appropriate code yet. Anyone have a solution? | |
I asked this in Google's chromium-discuss list, and nobody replied. I thought this group might have someone who can help. My original post: [B]Persistent values stored in opener.[variable]? [/B] [INDENT]How can I determine what Chrome considers the current page's 'opener'? In all other browsers, assigning a value to a javascript … | |
I am trying to figure out how to add up a series of text boxes which contain numbers that a user will input and have the total of those text boxes show up in a quantity text box on the next page. Not sure if i should use javascript or … | |
Hi, I was wondering if it is possible to get a param value with javascript from an java applet. [CODE]<object type="application/x-java-applet" classid="java:Link.class" width="100" height="25"><[COLOR="Red"]param value="http://f0802594f7f84cdaa59017c6588bf486/selif/moc.xnilemil"[/COLOR] name="java"><and many more that isn't needed> [/CODE] So can I get this param value with a javascript method? I couldn' find anything on google so … | |
I'm studying some javascript code specified for cpm. Although this is not my code I'm just trying to understand all the aspects of the code. Some of these lines are confusing to me and I'm unsure of the exact purpose. any info on these codes would be much appreciated. The … | |
I recently completed making a page in HTML & JavaScript. It is basically a template including various textfields, radio buttons, and dropboxes. There is also a submit button at the bottom. My goal is to have a user enter all the input information and then click "Submit." After hitting submit, … | |
Hi all. Before I say any more, I am a compete noob at JavaScript. I have been attempting to learn some though. I want to make some Windows 7/Vista sidebar gadgets, so, as a practise, I am making a very simple calender. It uses a CSS to draw up a … | |
Hi, I need an answer to a problem with iframe below. I have an iframe jsp page which is a popup window from an other jsp page. The iframe jsp popup window has few buttons. I need the return reponse of button clicked from iframe in parent window. BTW the … | |
Hi, I'm looking for some help. I need to add the letter "a" to the id of an option. The content is dynamic but you will get the idea from below. Any help would really be great. Thanks e.g. [CODE] <script type="text/javascript"> function Toggle(id) { document.getElementById("a18").style.display = "none"; document.getElementById("a19").style.display = … | |
I'm trying to trap a user entry that cannot be found in the database. When a code is entered, the page should give a "Code Not Found" message if it is an undefined value. However, it didn't; and it always shows the "undefined" value to the page instead. I'm really … | |
I AM WEAK IN JAVASCRIPTING, PLEASE HELP ME.[B]THIS IS MY BASIC IDEA TO TOGGLE VALUES USING JAVASCRIPT[/B] [CODE] [COLOR="red"]<?php $xyz=5; ?>[/COLOR] <head> <script type="text/javascript"> var x; function displaymessage() { if (x==5) { alert("yes"); x=1; } else { alert("no"); x=5; } } </script> </head> <body> <form> <input type="button" value="Click me!" onclick="displaymessage();" … | |
Hello ladies and gentlemen I've been trying to find a workaround this issue, and maybe you can help me find a solution. I've got a signature footer bar in a html document. This footer bar must display in several websites, in several domains, so i've been looking for an include … | |
Hi everyone, I need to upload image [U]without refreshing a page[/U] and [U]show the progress of uploading[/U]. How can i do it? Thnx |
The End.