14,054 Topics
| |
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 | |
In another thread I found that a good way to show and hide parts of a form based on previous entries would be as follows: [CODE] function showhidefield (method) { var hideablearea = document.getElementById("hideablearea"); var hideablearea2 = document.getElementById("hideablearea2"); var hideablearea3 = document.getElementById("hideablearea3"); switch (method) { case "1": hideablearea.style.display = 'block'; … | |
I am creating a website for my company's helpdesk and need an Event Calendar for conference room reservations. User need to be able to check the availability of conference rooms and enter a reservation on the calendar. Please help | |
Hello friends I have made the below mentioned code, it is working but its second function to delete a row is not working: [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script> function generateRow() { var d=document.getElementById("sip"); d.innerHTML+="<p> <input type='text'></p>"; } function deleterow() { var f=document.getElementById("sip"); f.innerHTML-="<p> <input type='text'></p>"; … | |
Hello Friends Is there anybody who can tell me about Jquery? I know why one use Jquery but I want to know how to write jquery as per requirement? | |
Hi, how to run the second function only when the first will be completed in? [CODE]$(document).ready(function() { $("#first").load("first.php?id="+ Math.random()); $("#second").load("second.php?id="+ Math.random()); }); [/CODE] | |
I've been tasked with plotting various points onto a map. Due to financing and the nature of the project we can't use Google or any of that type of thing. So we have to do this the hard way using PHP or Javascript. I'm supplied a map(Mercator) and the coordinates … |
The End.