Search Result

Collapse
42 results in 0.0043 seconds.
Keywords
Members
Tags
onclick
  •  

  • How to Make a "Ball" move When a Button is Clicked.

    When the up or down button is clicked I want the "ball" to move up or down. What I have sort of works. When I click up it will move up only ONCE and down only ONCE I want to be able to keep clicking up or down (or left or right) and have it keep moving by 5 pixels. Here's my js code. I have it positioned absolutely in my htm file.

    Code:
    window.onload = initAll; 
    
    function initAll() 
    {
    	myBallObj=document.getElementById("ball");
    ...
    See more | Go to post

  • Generating a post/input form on the same page during a button onClick event?

    I need an ajax/js function that will generate an input form to be filled up when the Add Traveler button is clicked. (not open a new window but generate it on the same page)

    Code:
    <td> Travelers:</td>
    <td><input type="button" onClick="" name="" value="Add Traveler" /></td>
    So, I want to generate this form when the button is clicked:...
    See more | Go to post

  • Excel 2007 Help with Listbox OnClick Code

    I have a Listbox on my Primary worksheet that displays all the Named Ranges from my secondary worksheet. I want the user to be able to click on one of the items in the listbox and have the system select the named range and do a preview. At this one, I can't even figure out how to get the Listbox to select the named range when I click it. Please Help!
    See more | Go to post

  • how to put an image over a value using javascript

    i'm working on a minesweeper game and i don't know how to replace an image (=any button was clicked)by the value suppose to be under it.
    (i have already all the functionality of bombs and neighbors and 10*10 images of buttons - but i can display this or this- not they both at once and this is another question - how to put the numbers and bombs under the button images...)
    i'll be glad to get some help,thanks in advance.
    See more | Go to post

  • Highlight <td> in table as dragging across?

    Hello,

    I am trying to find resources or an explanation on how to highlight several <td>'s within a table when a click is made and the mouse is dragged across the table while holding the click.

    Does anyone have any resources or examples on how to achieve this sort of functionality?

    Thanks!
    See more | Go to post

  • How can I break out of an endless loop by clicking a button?

    I've been searching for an answer to this for a long time, but found absolutely nothing. Obviously some AJAX has to be used, possibly setting some session variables, but everything I've tried has failed. Does anyone have a clue on how to do this?

    My code is too large, but I'll give you a small example, in case you need one:

    Code:
    <?php
    {
       //first part of code
    }
    
    //endless loop,
    ...
    See more | Go to post

  • Why is onclick event not firing when button clicked?

    Hi,

    I have the following code and no matter what I do onclick event for button is not firing. I tried deleting the button, the pages. Redid the code. Moved the web project to a different computer and nothing. It worked a few hours ago.

    Code on the web control .ascx:

    Code:
    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddNewPlaylist.ascx.cs" Inherits="WebControls_AddNewPlaylist"
    ...
    See more | Go to post
    Last edited by Niheel; Feb 3 '11, 08:45 PM. Reason: please use code tags

  • ukfusion
    started a topic set text input value onclick etc

    set text input value onclick etc

    Hi,

    Its something stupidly simple but for some reason i cant find a straight forward cross browser solution.

    I've got 2 sets of address fields and i want a tick box that when the user clicks it populates the 2nd lot of boxes with the values in the first.

    I had it working in I.E ok using the following;

    Code:
    document.getElementById("inputid2").value=document.getElementById("inpu
    ...
    See more | Go to post

  • geetansh
    started a topic Create new page in asp.net on button click

    Create new page in asp.net on button click

    There is a Textbox and a button when user clicks on the button after entering the data in the textbox I want that new page is created . The page must be .aspx Can anyone help

    i want codes in asp.net "VB" not in "c#"
    See more | Go to post
    Last edited by jhardman; Dec 31 '10, 09:58 PM. Reason: Accidentally posted in classic asp forum. Moved to asp.net.

  • amskape
    started a topic onclick not working in Safari

    onclick not working in Safari

    Hi pals,
    I am also in onclick problem, my code works fine in FF,OPERA,Chrome but not in Safari.
    My problem is this onclick.

    Code:
    <?php if(has_access($userarray,'view_serverdet','server')){
    	if (('Y' == $webpanel_ajax) && ('N' == $server_details || $usergroupid == "1")) { ?>
    		<span class="expand" id="exp<?php echo $server_row['id']?>" onclick="view_details('<?php
    ...
    See more | Go to post

  • Is it possible to open a search from from another form, pre-filtering the data...

    *above I meant to say 'search form, from'
    I am wondering if it is possible to open a search form from another form (onclick of any record in a text box), pre-filtering the data in the search to relate to the originally clicked record... ie.
    At the moment I am implementing a code library, the two main forms are frm001_CodeSear ch which enables the user to filter what code they can see. The second is frm002_Categori es which consists of categories...
    See more | Go to post

  • mostashaar
    started a topic how can i onClick again ?

    how can i onClick again ?

    Hello,
    I have this code how can i make it onClick each time it visits the function:
    Code:
    <html>
        <head>
        <script>
    	C();
    	function C()
    	{	
    		document.write("<input type='button' value='click me!' onclick='check()'/>");
    	}
    	function check()
    	{
    		alert("YO");
    		C();
    	}
    	</script>
    	</head>
    	<body></body>
    ...
    See more | Go to post
    Last edited by Dormilich; Apr 28 '10, 07:52 AM. Reason: Please use [code] tags when posting code

  • ullevi83
    started a topic Onclick Display Message

    Onclick Display Message

    Guys,

    First post on Byte, so hello all!

    I was wondering if I could pick somones brain regarding what I hoped would be an easy message display function, unfortunately it is causing me a lot of frustration.

    I am looking to display an alert box with a custom message depending on what textfield a user clicks on.

    For example, if I had a simple form with the following:

    Code:
    <form
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 31 '10, 11:17 AM. Reason: Please use [code] tags when posting code

  • Nicodemas
    started a topic JavaScript Event "onOffClick"

    JavaScript Event "onOffClick"

    I've done some rudementary searching for a topic that would lead me to a good solution, but I have not found any so far. I was hoping Bytes might lead me to glory!


    I built my own "pop up calendar" script.

    It creates a table that has hyperlinks inside cells which, once clicked, will populate a textbox with a preformatted date.

    It positions the table absolutely at the mouse coordinates...
    See more | Go to post

  • finked1973
    started a topic On click for popup box doesn't work

    On click for popup box doesn't work

    Firstly, i'd like to apologise for asking this question. I have no idea when it comes to javascript but i help out on a charities website and they have a problem with some info buttons not openeing up a html file. My question may seem dumb or lacking infomation but please i need help.
    Can anyone see in the code why the info.gif which when you hover your mouse over it shows that it is a hyperlink but when you click it nothing happens ?
    ...
    See more | Go to post
Working...