17,114 Topics

Member Avatar for
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 jie3

Hi guys, I'm new to the site and could really use some help. On my site I am having a css issue that I just can't figure out. On some of my pages, the right side div contents seem to stuck to the left side. The first link below is …

Member Avatar for matricol
0
117
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 cwarn23

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error …

Member Avatar for spidersdesign
0
306
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
400
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
292
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
Member Avatar for uselessninja

hi guys its me again the daniweb's number one fan ^^ how to read a barcode using javascript and if i scan the barcode it will display the time when it first scanned.......dis is what i mean when i scan it once it will display the time in and when …

Member Avatar for uselessninja
0
116
Member Avatar for divyakrishnan
Member Avatar for Airshow
0
2K
Member Avatar for clbembry

What I have is a button, and whenever a user clicks it a MySQL database field gets updated and the value is displayed to the user. I'm polling every 800 milliseconds and it's very laggy/glitchy. Sometimes when clicking the button it doesn't register it. And I actually need to be …

Member Avatar for Airshow
0
105
Member Avatar for alxrite

Hello, this is my first time posting here. Thanks for any help you may bring to the situation. Right now I am stumped and can not figure out exactly how to do what I want. Or even where to start. What I would like to do is build out a …

Member Avatar for Airshow
0
65
Member Avatar for newbi11

I have 5 radio buttons [CODE]<input type="radio" name="Options" value="button1" style="position:absolute;left:16px;top:1227px;font-family:Arial;font-size:13px;z-index:44"> <input type="radio" name="Options" value="button2" style="position:absolute;left:16px;top:1277px;font-family:Arial;font-size:13px;z-index:45"> <input type="radio" name="Options" value="button3" style="position:absolute;left:17px;top:1319px;font-family:Arial;font-size:13px;z-index:46"> <input type="radio" name="Options" value="button4" style="position:absolute;left:17px;top:1364px;font-family:Arial;font-size:13px;z-index:47"> <input type="radio" name="Options" value="button5" style="position:absolute;left:18px;top:1412px;font-family:Arial;font-size:13px;z-index:48"> [/CODE] [url]http://www.javascript-coder.com/html...age-5#comments[/url] in the link above it states that to make one selection of the radio button compulsory you should …

Member Avatar for migcosta
0
184
Member Avatar for katties

Hi I'm working on a function which involves multiplying by 0.5 and I've got a bit of a problem with it. I think I'll be able to solve it in overall, however, I just wonder if multiplying by 0.5 in javascript could be causing a trouble. Sorry I tried searching …

Member Avatar for katties
0
119
Member Avatar for jaycastr

I am trying to pass two variable using javascript but i dont really know the syntax [CODE] if(entity==3){ var month = document.getElementById('mymonth').value; var program = document.getElementById('mylist').value: location.href = "view_results.php?month="+month; [/CODE] i only how to pass month but i cant figure out how to pass both month and program thanks in …

Member Avatar for Airshow
0
113
Member Avatar for jaycastr

Im stuck with this color changing aspect of my website, can you please help. I have a dropdown with 4 options. I want a specific element that corresponds to the dropdown box to change color according to the option selected. here is some code [CODE] <tr> <td>Application Architecture</td> <td><select name="cate1" …

Member Avatar for jaycastr
0
2K
Member Avatar for jaycastr

I am using a dropdown box with 6 options. On change I want ajax to return part of an HTML/PHP page that corresponds to one of the 6 questions. I was trying to put and if statement on the return page to determine the part that I wanted but I …

Member Avatar for jaycastr
0
149
Member Avatar for w33n

Hey, I'm wondering if anybody knows a site with a good tutorial on how to create a slideshow with javascript. The type of slideshow I'm talking about is a popular type that companies are now using. Basically there are 4-6 buttons. When the landing page is static, the images just …

Member Avatar for pixelsoul
0
176
Member Avatar for qinglong

Hi all, I have found a code that work perfectly in all browser except IE..Due to my limited knowledge on ajax i couldn't solve the problem.. Hope u guys can help me out =) [CODE]<script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ // Firefox, Safari, Opera... req = new XMLHttpRequest(); …

Member Avatar for stbuchok
0
143
Member Avatar for hsmukunda

Hi how to render a div next to href link, we are using JQuery. Below is code attached where when clicked the div gets rendered just below the tab of browsers, I want to render next to that of href link as there will be lot of href links in …

Member Avatar for stbuchok
0
145
Member Avatar for dourvas

hallo there, i ve coded a script that the user can write a test. there is a form that he completes the answears and a button that posts those answears to another file which connects to a database checks if he is right and then shows the results. Now i …

Member Avatar for dourvas
0
180
Member Avatar for Chimunda

I'm trying to reduce a large number of pdf files to text format. Acrobat has a batch processing feature that will convert the files, and also allows a JavaScript to be executed as part of the conversion process. I would like to add JavaScript code that allows me to replace …

Member Avatar for twiss
0
197
Member Avatar for Ritesh_4

Hello guys Am currently implementing a web form in html, and at first I was thinking to submit it to paypal for processing payments, however now my client wants to be able to use credit card and bank transfer (direct debit I suppose), How can I do this, or does …

Member Avatar for Ritesh_4
0
80
Member Avatar for agrarian

I need to create 14 javascript Ajax objects and assign properties and events to them. Since most of the code is just being repeated, I'd like to do the whole thing in a loop using an array for the object names. This is a portion of the code as it …

Member Avatar for Airshow
0
161
Member Avatar for noamwegner

I am trying to create a download link that will support all browsers here is the code [CODE]<a href="\\servername\blah\folder\myzip.zip > downlod zip </a>[/CODE] It works in IE but chrom doesn't react to it and firefox adds the current url to the begining of the path can anyone help thank you …

Member Avatar for almostbob
0
201
Member Avatar for bunnyboy

Hello! I'm having problem with getting the checkbox state of a selected row inside table. I don't know if there is any specific function to determinate which row is selected so I've thought of the following... when the row is selected, style(background color) is applied to the tr element, so …

Member Avatar for migcosta
0
3K

The End.