15,700 Topics

Member Avatar for
Member Avatar for sha11e
Member Avatar for jvjvjv_

I am have been trying to teach myself ASP.NET and Javascript for a project and have been stuck on one problem for literally dozens of hours now. I found a really nice javascript drag-and-drop list online, copied the source offered and split the css into a .css file, the javascript …

0
119
Member Avatar for extemer

hi guys i have a problem i am searching for it but couldnt find that code right.can any one fix it.i want to change my text field colour to red while it is left empty or doesnt specify the condition applied on this...here is my code below [CODE] <!doctype html> …

Member Avatar for diafol
0
102
Member Avatar for phoenx

[CODE] <html> <HEAD> <style type="text/css"> body { background-color: black; color: black } a { font-weight: bold } a:link { background-color: black; color: blue } a:visited { background-color: black; color: blue } a:active { background-color: black; color: blue } a:hover { background-color: white; color: maroon} input { font-family: monospace; font-size: 24px; …

0
69
Member Avatar for phoenx

[CODE] <HTML> <HEAD> <TITLE>Number Blocks</TITLE> <!-------------------- Design --------------------> <STYLE> .bigcell { BORDER-RIGHT: #6699ff 5px solid; BORDER-TOP: #6699ff 5px solid; BORDER-LEFT: #6699ff 5px solid; BORDER-BOTTOM: #6699ff 5px solid; BACKGROUND-COLOR: #6699ff; TEXT-ALIGN: center } .cell { BORDER-RIGHT: #6699ff 2px solid; BORDER-TOP: #6699ff 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10pt; BORDER-LEFT: #6699ff 2px solid; …

0
79
Member Avatar for astnrocker

There is an extra row on top and on the side of 1-10 that I don't want on my table. How can I remove this? [CODE]<script type="text/javascript"> /* <![CDATA[ */ var numRows = "10"; var numCols = "10"; if (isNaN(numRows) || isNaN(numCols)) { }else { var tblHTML = "", rowHTML; …

Member Avatar for Airshow
0
103
Member Avatar for manavsm

i want to change the default value of dropdown list to 0 i.e selected index value shud become 0 when press the cancel button so that watever i selected previously is removed i want it in javascipt only...i have done it in c#...since there s no forum for javascript i …

Member Avatar for dnanetwork
0
194
Member Avatar for Tellalca

Hey; I am learning some javascript. I tried to write a trivial code to validate email but my code does not seem to work it should. It should turn the background color of text box green when mail contains both '@' and '.' characters and red otherwise. However what the …

Member Avatar for Airshow
0
107
Member Avatar for bangla

I have a web site written in html. I want to have a warning mesage in my web page saying they are not allowed to copy any of my data. Also, if they do copy, how can i tell who copied my data? Pls advise. Thx.

Member Avatar for Tellalca
0
86
Member Avatar for matricol

I need a auto indent program for .pd's, .js's and html code what do you recommend?

Member Avatar for Tellalca
0
150
Member Avatar for jssutton11

On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a …

Member Avatar for jssutton11
0
183
Member Avatar for vizz

can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL]

Member Avatar for matricol
0
94
Member Avatar for oggiemc

Hello All, Assume i have the following code: [code] // This code is defined in one file : editor.addMenuItem = function( name, definition ) { if ( groupsOrder[ definition.group ] ) menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition ); }; // This code is defined in another file: …

Member Avatar for Airshow
0
135
Member Avatar for shaya4207

Hi guys/gals, I have a menu with a div displaying onmouseover, and hiding onmouseout, it works great except in IE if I click on the [ICODE]<select>[/ICODE] tag, it triggers the mouseout event, interestingly enough the same does not happen when I click on a text field.. Code Example: [CODE] <ul> …

Member Avatar for shaya4207
0
202
Member Avatar for Cake2011

I have been racking my brain for days now and cannot get the button to work with my tell a friend script. <form> <input type="button" value="Close Window" onClick="window.close()"> </form> I'm trying to add it to my web site [snipped] Any help or guidance would be appreciated. Thanks Cake

Member Avatar for twiss
0
290
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Member Avatar for ko ko
0
157
Member Avatar for Ignatius88

[CODE]<script type="text/javascript"> function insertPreference() { var row = document.getElementById('voteTable').rows[0]; var cell = row.cells; var id = cell[0].innerHTML; var title = cell[1].innerHTML; alert(id); alert(title); } </script> <table id="voteTable" border="1"> <tr> <td id="id">3</td> <td id="title">This is an example of storing the table value into a database.</td> <td id="vote"> <input type="radio" name="yesorno" value="true" …

Member Avatar for twiss
0
2K
Member Avatar for vedmack

Hi I'll describe the following scenario: I got a table with td's and each of the got onchange and onclick when i change value of a td and click on other td i get the onchange event(of the first td) being fired and then the onclick (of the other td) …

Member Avatar for Airshow
0
100
Member Avatar for bhagawatshinde

Hi all, I am generating a html report displaying the records. In that report their are 10 rows and 4 columns. In 4th column i am adding the button. Now i want to use button click event i.e onclick() . 1) how i call the javascript function/Javascript. 2) how can …

Member Avatar for bhagawatshinde
0
618
Member Avatar for Nimerion

Hi ppl, I need a javascript that can do.. "When you leave a page to alert you how many times have you clicked". I have no ideas, and almost no exp in this.. So PLEACE help me.. Sorry for the bad english..

Member Avatar for Luckychap
0
72
Member Avatar for apanimesh061

This is javaScript based ASP.net web application. [CODE] <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="javascript" type="text/javascript"> function oddEve(){ var rand = Math.random(); rand = Math.ceil(6*rand); if(rand % 2 == 0){ document.write("Odd number: "); } else{ document.write("Even number: "); } document.write(rand); } </script> <html …

Member Avatar for AnujaCool
0
516
Member Avatar for Nybuler

hi, thank you for helping in advanced i faced some punctuation problem during i using ajax I used ajax with Get Method to pass some value from textarea to update the database.My problem is: example: "Hi, I'm Jane~" database updated : "Hi, I'm Jane~" but the response.text of ajax give …

Member Avatar for matricol
0
290
Member Avatar for Sahilsahni

hi, am working on a php site, i need a functionality where titles of last four posts would show up, i know how to get last four titles. but dont know how to make them blink one by one on same place,like i have four titles name A B C …

Member Avatar for matricol
0
139
Member Avatar for rakibtg

How to extract a website TITLE, META KEYWORDS and META DESCRIPTION by javascript for example [URL="www.surfpack.com/bangladeshiwebdirectory_com"]www.surfpack.com/example_com[/URL] site has exactly extracts [[url]www.example.com][/url] websites TITLE, META KEYWORDS and META DESCRIPTION. How to do it by javascript mainly in HTML? Thankyou!

Member Avatar for matricol
0
1K
Member Avatar for aPPmaSTer

Hey everyone, I'm working on a web application that's supposed to be compatible with all browsers, yet IE, as usual, is giving me one hell of a headache. I'm posting the code below, it's very straightforward... 3 divs containing ordered lists are made hidden/unhidden via a select menu. The problem …

Member Avatar for matricol
0
138
Member Avatar for astnrocker

This looks as it should except that it needs more spacing between the columns. How would I do that? [CODE]<script type="text/javascript"> /* <![CDATA[ */ var numRows = "10"; var numCols = "10"; if (isNaN(numRows) || isNaN(numCols)) { }else { var tblHTML = "", rowHTML; for (var row = 0; row …

Member Avatar for Airshow
0
193
Member Avatar for saadi06

Hi, I am having problem with applying ajax on IE.I am applying innerHtml on select tag but it is not working my ajax code is [CODE]function AjaxF(ftype,cid) { var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { httpxml=new ActiveXObject("Msxml2.XMLHTTP"); …

Member Avatar for Airshow
0
487
Member Avatar for prabhjitsw

Hi everyone My problem is that i am using javascript form validation for the first time and have made a function "Validateform()" to validate "emailid" field in my Form. Now the problem is that it's not working. Now in my registeration form when i enter a wrong email id for …

Member Avatar for twiss
0
399
Member Avatar for vivek.visen

hello, I am working on gridview in a project in which i have to apply javascript on gridview. there are 2 events whcih i have to apply on it 1st is that when i click an image the gridview should be opened and when i select an item in gridview …

0
50
Member Avatar for piepie22

Hi All, As the title says. Have been looking for solution these past 2 days, Salary Record are pulled from database (MySql) in to PHP table (do/while loop). - Name , Salary , OvertimePay , Subtotal , MedicalDeduct , UnionFeeDeduct , Tax , Grand Total - Peter , 1300 , …

Member Avatar for piepie22
0
133
Member Avatar for Joe34

It sounds confusing, but is quite simple. I have a square div, and using css I have four circles replacing the corners of the of the divs border. I want the user to be able to click on one of the corner circles changing the curser image and calling the …

Member Avatar for ko ko
0
305
Member Avatar for himmat.m4

Hi, I know for calling jquery function requires some event. But in my project I want to call function of jquery onchange event but that value changing through coding and whenever that value changed jquery function should be called. That means upto particular condition value will be changed of textbox …

Member Avatar for twiss
0
243
Member Avatar for Dean_Grobler

Ellew! Attached I have an example of my form written in GXT (EXT GWT). On the image you will see a red line I drew where I would like to put in a line feed just to make the layout look a bit less cramped. Does anyone have an idea …

0
78
Member Avatar for strRusty_gal

Hi everyone, I have managed to call the window.print() in the javascript to printout my page. Does anyone knows how to remove the URL links, page number and others at the header and footer of the printout? Or is it possible to modify the window.print settings so that it can …

Member Avatar for strRusty_gal
0
86
Member Avatar for coleguitajuan

Hello guys, I'm starting to learn Javascript and I'm having trouble combining 3 text fields on a form in order to submit it in a single textfield. For example I have the following texfields: [CODE]<input id="country_code" name="country_code" size="6"> <input id="area_code" name="area_code" size="5"> <input name="hphone" size="9">[/CODE] I want to combine them …

Member Avatar for coleguitajuan
0
133
Member Avatar for sane83

Sorry to ask this, i know its that simple. Am working on Java for the first time. All the tabs that i placed appears below the text. I want the tabs to be appearing right after the text towards the right. Can someone help me with this. Attached is the …

Member Avatar for sane83
0
100
Member Avatar for daniweb187

Hello all, In JSP / HTML, I want to restrict the size of file being uploaded. [I]<input type="file" name="myfile"/>[/I] If the user trying to upload a file size bigger than some value say 5MB, i want to give mesage to the user. I don't want to wait till the file …

Member Avatar for daniweb187
0
100
Member Avatar for jiten_raulo

Hi Masters, I Need your help on the bellow scenario: I have a list of checkboxes. Want to show or hide images related to each checkbox upon selection/deselection. I want [B]initially the images will not shown[/B] as the check boxes are select the images will showup. if deselect any checkbox …

Member Avatar for Airshow
0
290
Member Avatar for untio

Hi, I am starting to learn JavaScript. But now I need a good IDE to code. Obviously I need a free IDE, I am not planning to make money with my code. Can experts give me some advice. Thanks in advance.

Member Avatar for untio
0
129
Member Avatar for BaSk

I have a php function that list all of the countries from my database as a select option, then based on what the user selects for their country im using jquery to make an ajax call and get all of the states/regions for that country. This part works fine. I'm …

Member Avatar for Airshow
0
174
Member Avatar for emulman

i have a little problem with jquery...for example i have five A anchor tags everyone with an ID (<a id="a1">, <a id="a2"> etc). when i click on one of them i want to appear a dialog box (with jquery-ui) containing an image. but the following code doesn't work, when i …

Member Avatar for emulman
0
103
Member Avatar for anandhikrishnan

Hi I need to get input for a css class font-size attribute from the user like 8px,10px,12px and so on.. and dynamically I need to change it. I get the following code from net function changecss(theClass,element,value) { var cssRules; var added = false; for (var S = 0; S < …

Member Avatar for Airshow
0
197
Member Avatar for ibn_sumal

I have 3 images and 3 buttons, once a button is clicked its image will be displayed in a box. Now i want to be able to link each [B]image[/B] to a different page once it is clicked on, so far i can only link all 3 images to the …

Member Avatar for Luckychap
0
1K
Member Avatar for jonsan32

I've searched a while, can't find this... I'm looking for a way to present two choices for values, then to have a result immediately appear based on those choice. IE... The first choice is an option between 1, 2, 3, 4, or 5 players... and the second choice is an …

Member Avatar for jonsan32
0
228
Member Avatar for avocado_juice

Hello, I wanna ask about scan card. Is there any way to disallow keyboard input and only allow scan card input to key in a field? FYI, I am using vbscript, html and javascript for this program. So, may be doing something with the javascript? How about limit the time …

Member Avatar for avocado_juice
0
3K
Member Avatar for clbembry
Member Avatar for clbembry
0
86
Member Avatar for dschuett

I have implemented a tooltip on my navigational links (after clicking on the 2006 Volvo 780). Found here: http://www.lonemountaintruck.com/partners/index2.php I am pulling the "detailed" view of the truck into the div from a php file(loadtrucks.php). The "Next Rig" link is the link that is causing the tooltip to stay open …

Member Avatar for dschuett
0
207
Member Avatar for Sorcher

Hello guys. I am a freelancer, been doing html, css, php, mysql and such for a few years now, but i really never learned javascript and ajax, so i feel like an unpolished diamond because i know i can make advanced unique php systems, but cant really fancy them up, …

Member Avatar for MrDJK
0
92
Member Avatar for nonshatter

Hi there, I am in the process of implementing draggable/droppable interaction using the JQuery UI. This is something that I have very little experience with so please be gentle. I can drag and drop using <tr> elements which looks great, but I need to get the <tr> attributes (perl variables) …

Member Avatar for nonshatter
0
114
Member Avatar for ya.basha

Hello Guys, I need your help, I want to draw growing circles like a darts board and like attached picture using jQuery (I prefer) or another javascript library. Regards, [IMG]http://ayyash.info/Circles.jpg[/IMG]

Member Avatar for ya.basha
0
1K

The End.