14,054 Topics

Member Avatar for
Member Avatar for zoldos

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 …

0
48
Member Avatar for niche1

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 …

Member Avatar for niche1
0
90
Member Avatar for aqhulcus

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 …

Member Avatar for aqhulcus
0
75
Member Avatar for aladar04

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()"> …

Member Avatar for gumape
0
152
Member Avatar for Kligham

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 …

Member Avatar for Kligham
0
85
Member Avatar for ploppy

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, …

0
68
Member Avatar for howster

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!!!!!!!!

Member Avatar for Chokladkakan
0
78
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
157
Member Avatar for alb3rt
Member Avatar for almostbob
-2
74
Member Avatar for sharonig

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

0
59
Member Avatar for sg552

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 …

0
54
Member Avatar for SBA-CDeCinko

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?

Member Avatar for SBA-CDeCinko
0
108
Member Avatar for scotttheath

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 …

Member Avatar for scotttheath
0
160
Member Avatar for nigelsponge

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 …

Member Avatar for scotttheath
0
203
Member Avatar for Kligham

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 …

0
51
Member Avatar for fbig22

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 …

0
36
Member Avatar for Bordeaux0113

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, …

Member Avatar for Bordeaux0113
0
119
Member Avatar for SgtMe

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 …

Member Avatar for hielo
0
4K
Member Avatar for Amar11

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 …

Member Avatar for gumape
0
224
Member Avatar for technopup

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 = …

Member Avatar for technopup
0
94
Member Avatar for applemist

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 …

Member Avatar for Chokladkakan
0
116
Member Avatar for sakush100

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();" …

Member Avatar for Ezzaral
0
173
Member Avatar for ndeniche

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 …

Member Avatar for ndeniche
0
93
Member Avatar for Acute

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

Member Avatar for Acute
0
54
Member Avatar for dwssassin

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'; …

Member Avatar for Chokladkakan
0
88
Member Avatar for Fasola

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

Member Avatar for atrueresistance
0
147
Member Avatar for mike3608

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>"; …

Member Avatar for Airshow
0
84
Member Avatar for chintan@dani

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?

Member Avatar for pritaeas
0
81
Member Avatar for Lolalola

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]

Member Avatar for pritaeas
0
53
Member Avatar for Ejl191

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 …

Member Avatar for Ejl191
0
214

The End.