59 Topics
|
|
Hi there, I currently have HTML table on my website full of entires from a MySQL table. These entries are just normal words. I've been wanting the user to be notified if they click on that particular word. I have the text background change colour whenever the user clicks on … |
|
Hi frendz, Can we set a value for a session variable through javascript onclick event? (or) How can we set a global variable for the whole website using javascript? |
|
Hi Frendz, How to get the id of an element using onClick Event in <body> tag using javascript? |
|
my calculator work perfect in IE but not in mozilla? what i need to do.. i think its all about to my function i need help to onClick event. pls. here's code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../css/calculatorCss.css" rel="stylesheet" type="text/css" /> <title>tile calculator</title> <script type="text/javascript"> <!--variable … |
|
Hi wondered if someone could help me i am having the same kind of issue: if you go here: [url="http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1"]http://bluegeeks-testserver.co.cc/jaclyn-beta/index.php?route=product/product&path=1&product_id=1[/url] and your see the Select Drop Down called: Fonts, well if you choose say Airstrip or Arial the image should change but the problem i am having is. It works … |
|
i wanna enter a value passed by javascript function to the database. is there a way to do that? thanks. var eng = 0; var nothome = 0; var nointerest = 0; var callback = 0; var booked = 0; function myFunction(i,txt, elemid){ var plural; if (i != 1) plural … |
|
I continue to get, function not defined when calling the function build_blog() through the function start()? [CODE]<html> <head> <style> </style> <script type="text/javascript"> var SEO; var conversion; var SMO; function Start() { document.write("Blog Name: <input type='text' id='name'><br> Blog System: <input type='radio' name='system' id='system' value='blogger'> Blogger<input name='system' type='radio' id='system' value='Wordpress'>Wordpress<br><input type='button' value='Build … |
|
I'm working on a task for a client that I thought would be simple. A remote computer uploads a file upon some event. My site needs to display a flag/statement if that file exists. So, upon page load it checks if the file exists. That all works fine and dandy. … |
|
I know this is kind of a jquery/ajax question, but I figure it wouldn't hurt to ask here since someone may have done something similar. I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row … |
|
Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE] |
|
i want to send Variable to a php function when a link clicked how to do that??? so far i got to here but it doesn't work. :( plz help mee echo " <A href=\"Carscript.php\" onMouseOver=\"SwapOut('$name')\" onMouseOut=\"SwapBack('$name')\" onclick=\"func($name);\" > "; |
|
Hello! I've made a drop-down menu using the hover sub-class in CSS: [CODE].ddmenu{ display:none; } .box:hover .ddmenu{ padding:0px; display:block; }[/CODE] Is it possible to make the "ddmenu" object appear when the user clicks on the object with the "box" class instead of when he hovers the mouse over it using … |
|
I wrote this to trigger a video when an image is clicked, but its not working. Any help? [CODE] <head> <style> #movie {} #img {} </style> </head> <body> <embed type="application/x-vlc-plugin" name="VLC" target="mymovie.webm" id="movie" > </embed> <img src=myimage.jpg" id="img" /> <script> var v = document.getElementById("movie"); var i = document.getElementById("img"); i.onclick = … |
|
hi guys! i've a mapped image and jquery in the following code, works fine with Chrome and Safari, but Firefox doesn't recognize the onclick function and I'm wondering why! [CODE]<img id="menu" src="/imgs/home/menuOK.png" border="0" align="left" usemap="Map_Menu"/> <map name="Map_Menu" id="Map"> <area shape="poly" coords="16,189,103,155,99,149,5,169" href="#" onclick="$('#contenuto').html('<iframe src=bio.php frameborder=no width=100% height=100% scrolling=no id=icontent><p>Your browser … |
|
Hello! I have a table with cells, and each cell contains the following code: [CODE] <td align='center' bgcolor='#C45651' width='80' height='60' nowrap='yes' id='$' onClick='callPicture(this);'><p dir='ltr'><img border='0' src='X.jpg' width='80' height='60'></td> [/CODE] The javascript function [CODE]function callPicture(ID){[/CODE] gets the cell's ID and uses it. (This table is being written cell be cell dynamically … |
|
Hi, I am trying to use AJAX to do a simple thing of displaying the results in the same page. Clicking on the <a href tag should display the results in the same page. This is working correctly in IE but the onclick() function is not working in firefox and … |
|
|
When a member signs up there asked to enter an email and verify. When they click the verification link in there email there taken to step 2 which is where they enter there info. In the info page I have an privacy policy link, which displays this way. [CODE]<h3><span class="underLine"> … |
|
I'm having a little trouble finding any kind of info on how to do what im going to ask. I have a list menu... How would I, or can I with an onclick event display more boxes. Heres what i mean. When someone clicks on cancel account for instance, when … |
I am trying to get a text box to show a number and then add it to another number,[CODE]<html> <body> Field1: <input type="int" id="field1" value="1" /> <br /> Field2: <input type="int" id="field2" /> <br /><br /> Click the button to add the content of Field1 to Field2. <br /> <button … |
|
|
Hi all. I am trying to workout how to show the default value of a text box when you click off it. I have already got the code for the onclick but I would appreciate some help with the offclick. Thanks in advance. Cameron |
Hello Web Developers! I need a simple help out here: This is my JS code: [CODE]<script language="JavaScript" type="text/javascript"> /*<![CDATA[*/ function CngClass(){ var zxcevt=window.event||arguments.callee.caller.arguments[0]; var zxcobj=window.event?zxcevt.srcElement:zxcevt.target; while (zxcobj.parentNode){ if (zxcobj.nodeName=='LI') break; zxcobj=zxcobj.parentNode; } if (zxcobj.nodeName!='LI') return; var zxcul=zxcobj.parentNode; var lis=zxcul.getElementsByTagName('LI'); for (var z0=0;z0<lis.length;z0++){ lis[z0].className=lis[z0]!=zxcobj?'off':'on'; } } /*]]>*/ </script>[/CODE] This is my … |
|
Hi I am trying to execute a TADODataSet by clicking on a button. As of now. whenever I run my delphi program my TADODataSet automatically activates and runs its corresponding stored procedure in sql. I want to be able to press a button on a form in order to execute … |
|
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();" … |
|
Hey guys fairly new to PHP as is, I need to run a PHP function call through an onClick which through my research I have found that I need to use AJAX. Let me explain better what I am trying to do. I am currently using Simplepie PHP to pull … |
|
I'm really new to javascript how do I make it that when I click a button a number on my page in the <p> tag with the Id of num gets 1 added to it so it i like 2,3,4,5 each time I click |
|
Hi All, I'm developing a Calendar project . I have all the concepts and framework with me upto my knowledge. I need to show the events on a particular day which i will fetch it from mysql values by PHP. Forgive me if im not posting in a professional way. … |
|
Hi. I have the next problem: 1. I'm doing a select in a DB table and I'm displaying the result on a page 2. because one of this field is a comment and is too long, I display only the beginning of this folowed by "Read all" as a link. … |
|
I have a problem. I have an image set to the background, this method is working for fire fox, here is how i got a background image. [CODE]<img src="docs/Plasma.gif" id="background"/> <div id="content">[/CODE] Right after the body tag and [CODE]img#background { position:fixed; top:0; left:0; width:100%; height:100%; } #content { position:relative; z-index:1; … |
|
Hello everyone, Confused with the title of the thread? Well, I guess that`s because my brain is completly fried from trying to find the correct way to do something that seems impossible without your help. Here is the story, I have 8 questions, each containing 5 answers. I have a … |
The End.