15,120 Topics

Member Avatar for
Member Avatar for sugumarclick

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

Member Avatar for littlealien88
0
1K
Member Avatar for albertkao

My javascript function setHw is not called by pressing the return key in all of the following pages. Please help. [CODE]<div id="rowPerPageDiv"> <form name="tagform" action="Hw.htm" method="post"> <input type="hidden" name="currPage" value="0"/> Rows Per Page<input type="text" name="rowsPerPage" id="rowsPerPage" value="20" onsubmit="return setHw()"/> <input type="button" value="Apply" onClick="setHw()"><br> </form> </div>[/CODE] [CODE]<div id="rowPerPageDiv"> <form name="tagform"> <input …

Member Avatar for rajarajan2017
0
107
Member Avatar for ultimatebuster

I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } window.onload = function(){ try{ throw new MyError("Test Message"); } catch(e) { alert(e.name + ": " + e.message); } } [/CODE] …

Member Avatar for ultimatebuster
0
110
Member Avatar for cloud09

I have an image rotator that uses nested intervals. The outer one switches the images, and the inner one preforms the fade. The problem is is that the display is not updated during the interval function, and so, the fade is not displayed; the new image just appears- no fade. …

Member Avatar for cloud09
0
298
Member Avatar for harvey66

Hi I'm new to Javascript and trying to get a layer div to display next to the mouse cursor. My code works great in IE and Chrome browsers but won't work in Firefox. If I remove the part bewteen the asterisks which gets the cursor position it works fine, but …

Member Avatar for harvey66
0
207
Member Avatar for kadybug

While cleaning my computer, I notice that I have a lot of files that are marked as LOCAL file under File type. Does anyone have a clue as to how to open these? My cleaning software is flagging these files as files that are junk files that need to be …

Member Avatar for SikoSoft
0
65
Member Avatar for leegeorg07

Hi again, I'm trying to load a text file into a variable and I know of the jquery load [CODE] $("div").load("file.txt"); [/CODE] but I want to be able to load it into a var, does anyone know how to do this? Thanks in advance.

Member Avatar for leegeorg07
0
101
Member Avatar for SikoSoft

Howdy, First off, I should say that I am jumping on posting this issue much quicker than I normally would - but I'm not really in a patient mood now, and I'm far from being a fan of anything the W3 has done. Anyhow, I am in the process of …

Member Avatar for SikoSoft
0
173
Member Avatar for capoon

Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the …

0
87
Member Avatar for InsaneVr6

Having a problem that I can't seem to find a solution for. I am using a picture as a button for my site and when you click the picture it brings you to the main page of the website. My problem is that I want the button to make a …

Member Avatar for InsaneVr6
0
3K
Member Avatar for capoon

Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the …

Member Avatar for diafol
0
241
Member Avatar for scaiferw

I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message. This code reads the names and addresses from the database, and creates a comma delimited list of addresses …

0
140
Member Avatar for scaiferw

I'm a little out of my depth in server-side scripting, so I have to ask for some help here. I had some great help yesterday getting a 'select-all' checkbox script working, but have run up against a wall on the next step. Here's what I want to do, it relates …

Member Avatar for scaiferw
0
92
Member Avatar for chaituu

I have written code for adding and removing dynamic rows.i am using same file for both ADD and MODIFY operations.this page is working for ADD operation. lets say for MODIFY operation one employee has added 3 rows and i need to display those rows and user can edit thoese rows …

Member Avatar for fxm
0
77
Member Avatar for srdva59

hi, i need load a url in a div i have found many samples that work in that way, the problem is that i need javascript working in the destination link and for some reason the javascript dont work in the div that i load. there is any way to …

Member Avatar for SikoSoft
0
95
Member Avatar for ypdev

Hi, I would like to pass data to dialog box where the page in background is faded out. A good example is when I click 'LOG IN' on DANIWEB, I get a dialog box with username and password fields and the rest of the screen is in gray. Can someone …

Member Avatar for ypdev
0
868
Member Avatar for dipsite.nitk

<HTML> <HEAD> <TITLE> MEA </TITLE> <link rel="stylesheet" type="text/css" href="test2.css" /> <style> .suckerdiv ul{ margin: 0; padding: 0; list-style-type: none; width: 160px; /* Width of Menu Items */ border-bottom: 1px solid #ccc; } .suckerdiv ul li{ position: relative; } /*Sub level menu items */ .suckerdiv ul li ul{ position: absolute; width: …

Member Avatar for fxm
0
102
Member Avatar for ultimatebuster

I'm pretty new to JavaScript. I'm trying to define my custom errors, but it doesn't seems to be working [CODE] function MyError(msg){ this.message = msg this.name = "My Error" } body.onload = function(){ try{ er = new MyError("Test Message") throw er(); } catch(e) { alert(e.name + ": " + e.message); …

0
74
Member Avatar for Mohandsa

[I][B]please,help me i want to convert date(string) to date (date time), this date i make setting for day with one (constant)[/B][/I] [I][B]to use it in database i write in html [/B][/I] <html> <head> <SCRIPT type="text/javascript"> function startDate() { var d=new Date() var y=d.getYear() var m=d.getMonth()+1 var day=1 var date=m+"/"+day+"/"+y document.write("date …

Member Avatar for ehassen
0
217
Member Avatar for rnr8

Hi, I'm trying to change a background image used within a list <li>, yet have only been able to get this to work in IE and not Firefox. Please tell me what is wrong with this code: (Note: I have tried using style.backgroundImage yet that did not work in IE …

Member Avatar for JScriptRUs
0
705
Member Avatar for niths

hi all, i am having a php page where we can upload and download files.Those files which are uploaded will be displayed in a table on the same page,for that i need to refresh page.So i used [CODE]<meta http-equiv="refresh" content="3">[/CODE] but it is refreshing for every 3 seconds. That causes …

Member Avatar for sergb
0
80
Member Avatar for kiranbvsn

Hi, I am new to ajax, but i want to learn cause it is used in our project.. So, here is my query, i am using .net 3.5 framework i've one dropdownlist and textbox controls in aspx page for dropdown: 1,2,3,4 (are the values in column1 in database table that …

Member Avatar for Rana Sameer
0
93
Member Avatar for Nilgems

Using javascript, I want generate buttons and textboxes dynamically depending on selection from dropdown. Use asp.net with c# languasge. I will try using above code.But not solved the purpose.Please suggest.[code]<head runat="server"> <title>Dynamically add Text Box and Button</title> <script language="javascript" type="text/javascript"> function add(type) { for(i=0;i<10;i++) { var element=document.createElement("input"); element.setAttribute("type", type); element.setAttribute("value", …

Member Avatar for fxm
-1
241
Member Avatar for scaiferw

I'm pulling my hair out trying to find a checkbox check-all toggle script that will pass an array of selected to my server side PHP script. I really want a master checkbox that serves as a select-all/deselect-all control. I've looked at countless examples online, and the closest I can find …

Member Avatar for scaiferw
0
137
Member Avatar for ayesha789

I want this form as lightbox form. Is it possible. [CODE]<form action="lims_updated_north.php" method="post"> <table class="mytable" align="center"> <tr> <td>Code</td> <td> <input type="text" name="al" id="al" value="<?php echo $al; ?>" /> </td> <td>Owner Name</td> <td> <input type="text" name="cd" id="cd" value="<?php echo $cd; ?>" /> </td></tr> <tr> <td>Mobile</td> <td> <input type="text" name="nid" id="nid" value="<?php …

Member Avatar for Graphix
0
185
Member Avatar for zkelvin2010

Write a program that creates a text file that contains a power of two table in HTML format. The file could be called "twoPowerTable.html". When it is viewed with a browser you will see something like: Power of 2 Value 0 1 1 2 2 4 3 8 4 16 …

Member Avatar for rajarajan2017
0
230
Member Avatar for wewehalim

Hi, i am making a website which prove a sudoku interactive game that enables users to play it. the game data is in the form of database and have the following field: +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | …

Member Avatar for wewehalim
0
113
Member Avatar for ghoststick

Hello. I'm wondering if anyone has knowledge or a code that will refresh a script without a full page load. Just a widget/box on a site. What I have is a script which displays random posts in wordpress. Just calls 5 posts from the database with a simple random call. …

Member Avatar for rajarajan2017
0
121
Member Avatar for genki01

After searching I've found how to make an onload alert box when the page loads. However what I want to do is 1. When user goes to page the alert box/pop loads w/o the page, just an alert box. 2. Once the user clicks on OK, the page loads.

Member Avatar for scrappedcola
0
111
Member Avatar for 2eXtreme

Hello, I'm trying to write some javascript that will always allow me to float content over a flah player. To do this, the <object> tag needs to have a <param> tag added to set the wmode to transparent, and the <embed> tag needs to have the wmode attribute set to …

Member Avatar for shastry_1985
0
446

The End.