15,127 Topics

Member Avatar for
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
113
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
103
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
64
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
183
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
116
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
110
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
148
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
174
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
141
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
142
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
176
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
195
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
78
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
198
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
Member Avatar for doctorphp

Hi everyone. I am having trouble with a jQuery comment system. Here is the code. [code] <?php $page = 'View Support Ticket'; include 'header.php'; $view_hash = clean($_GET['view_hash']); $ticket_query = sprintf("SELECT * FROM support WHERE view_hash='%s'", $view_hash); $ticket_query = mysql_query($ticket_query); $ticket = mysql_fetch_assoc($ticket_query); $ticket_num = mysql_num_rows($ticket_query); ?> <!-- start #page --> …

Member Avatar for Airshow
0
152
Member Avatar for ikunu

Hi I was designing a website on blogger.com in which i added a JavaScript code for Live streaming into Media Player as give below... [CODE]<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" showstatusbar="true" enablecontextmenu="false" autostart="false" width="320" height="60" loop="false" src="[B][I]mms://216.185.43.237/radiocity 1[/I][/B]" /></embed>[/CODE] Now i want to change the link location as for this SRC part …

Member Avatar for stbuchok
0
169
Member Avatar for strRusty_gal

Hi, Anyone know how to pass value from 1 javascript to another javascript? I wanted to pass 1 of the variable in A.asp to B.asp variable. is it possible to do it?

Member Avatar for strRusty_gal
0
138
Member Avatar for madehoney

Hi everyone Im new here and not very good with Javascript, so here im asking for a little help for my proyect the problem is Im trying to calculate text fields from results of php query my fields come from the query as amount1, amount2.... what i need is for …

Member Avatar for piepie22
0
2K
Member Avatar for f_atencia

Hi all, I have an input box that should only contain decimal point numbers (including negative values), but I'm not sure how to remove invalid characters and replace it with something that is valid (i.e. the value e3.45 should be replaced with 3.45). If all the characters in the textbox …

Member Avatar for urtrivedi
0
175
Member Avatar for rhand

I am working on a local server on adding a media uploadbox to a Wordpress plugin Datafeedr Randam adds for a few days now and the code I have come up with so far is here [url]http://wordpress.pastebin.com/xF0xs9mL[/url] . Code added to load needed scripts starts at line 101 and media …

Member Avatar for gibigbig
0
281
Member Avatar for seblake

Greetings! I'll plead ignorance...that's easy. :-/ This is from: [url]http://www.w3schools.com/js/js_functions.asp[/url] [code] function product(a,b) { return a*b; } [/code] Without assigning a variable to the function, how does the correct value get returned? Or even interpreted? [pseudocode] a*b=c return c [/pseudocode] 2nd Q: Is this "undeclared (unseen) variable" local or global? …

Member Avatar for Airshow
0
118
Member Avatar for HelenLF

Does anyone know if JQuery can be used to produce a slideshow like the one here... [URL="http://www.scottishweddingphotographer.com"]www.scottishweddingphotographer.com[/URL] Or is there a ready made script out there that does it already. Basically I need a row of thumbnails which when clicked reveal a scrolling slideshow. Thanks in advance

Member Avatar for stbuchok
0
88
Member Avatar for iamthwee

Hi I am trying to customize the superfish (jquery) menu. Does anyone have experience working with this? [url]http://users.tpg.com.au/j_birch/plugins/superfish/[/url] Cheers.

Member Avatar for iamthwee
0
142
Member Avatar for Dean_Grobler

Hi guys, I've recently started with the [URL="http://www.sencha.com/products/touch/"]Sencha Touch API[/URL], or should i say, [B]tried[/B], as the syntax is crazy and takes some getting used to. Anyways, I'm just struggling with basic layouts in my page. Don't want to go into too much detail if no-one here has ever worked …

0
75
Member Avatar for newbie14

Dear All, I have form where I add dynamic html element as below. In the php code via ajax I have built the full drop down list. So when I post the form in IE when I do like this $masterID=$_POST['masterID']; I am able to capture the form value. But …

Member Avatar for newbie14
0
149
Member Avatar for newbie14

Dear All, I have a drop down list. Based on the selection I will create more drop down list depending on the selection of the first drop down list. Example if first I select the value as 3 then three drop down list will be created below. Thus now my …

Member Avatar for newbie14
0
100

The End.