15,698 Topics

Member Avatar for
Member Avatar for nonshatter

Hey guys, Sorry if I am cross-posting, but I can't seem to find a solution to this problem. I have a PHP while loop that retrieves records from my database. Inside the loop, I also have a Javascript counter that I need to generate for each record I retrieve (for …

Member Avatar for almostbob
0
153
Member Avatar for magoon62

Can anyone help guide me in implementing my JavaScript code into a Firefox extension? The process is confusing and the lack of instruction from my professor isn't helping

Member Avatar for MoonTraveller
0
48
Member Avatar for jamshed ahmed

[CODE] here is java script code function ShowMsg() { if(document.getElementById("txtVerifierName").value=="") { alert("PLEASE ENTER VERIFIER NAME.."); return false; } <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="ShowMsg()" onclick="btnAdd_Click" /> [/CODE] NOW THE PROBLEM IS THAT WHEN I CLICK THE BUTTON, IT SHOWS THE MESSAGE THAT PLEASE ENTER VERIFIER NAME BUT EXECUTION DOESN'T STOP THERE, …

Member Avatar for jamshed ahmed
0
221
Member Avatar for jackrobert

hi, I have one image (sampleImage.png).. Already i connected my pc to printer.... Manually i open the image and select print option , then i got image from printer.... Now i want print image using javascript.... [code]<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ …

Member Avatar for jackrobert
0
276
Member Avatar for roniedaniweb

Hi, I'm new in AJAX and PHP. I just want to create an online Application form. That only thing that I'm missing is the UPLOADING OF PICTURE. Here's the scenario: 1. The user will complete all the required fields(name, email, etc..) 2. On the upper-right of the form, I want …

0
52
Member Avatar for QWaz

Hi, I am javascript newbie. I have a slideshow on my site and it works fine if I type in the images for it to display, however I want to get the image files path from my database, so it shows all the photos. Here is the code I am …

Member Avatar for uberznoob
0
117
Member Avatar for rouse

I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica …

Member Avatar for rouse
0
355
Member Avatar for miweiser

I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor …

Member Avatar for miweiser
0
198
Member Avatar for mstatdaniweb

Hello, I'm trying to pass a $counter2 value from php loop to javascript, but $counter2 is incremented so I'm passing the highest value of $counter2, which i not what I want to do. Is there a way to combine values with html identifiers and pass them to js?I would be …

Member Avatar for mstatdaniweb
0
92
Member Avatar for gskoli

Dear all , Following i have provided piece of ajax code, Where i am inserting a row at top of table but it is working fine in all other Browser Except IE ... <code> if (self.xmlHttpReq.readyState == 4) { if (self.xmlHttpReq.status == 200) { var result = self.xmlHttpReq.responseText; if(result != …

Member Avatar for gskoli
0
75
Member Avatar for rs25

Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they …

Member Avatar for rs25
0
195
Member Avatar for mustafizulallif

i wonder how to do a popup like this daniweb. i mean when your not a member and not login then u click this link. daniweb will display an image to join this forum and lock the page behind it. what is the code? is it using java script? [url]http://www.daniweb.com/forums/thread100886.html#[/url]

Member Avatar for sureronald
0
93
Member Avatar for aditya61

Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! …

Member Avatar for aditya61
0
84
Member Avatar for tbrambor

I am trying to get some data off a Brazilian government website. The data is accessible through a form with some javascript. I am able to get the form and fill it out, but have trouble submitting it (a button needs to be clicked). I am using the library mechanize …

Member Avatar for tbrambor
0
4K
Member Avatar for twilitegxa

I'm trying to develop a little game and I have run into a problem. Currently I have the user log in, choose their character, and then go to a page where they can fight random monsters. When they get to the page to fight with the random monsters, the character's …

Member Avatar for almostbob
0
144
Member Avatar for mundee
0
67
Member Avatar for Froger93

Hello all, I am having some real issues with internet explorer. I have created a jQuery image rotator (flick along a selection of images). Everything works on everything but internet explorer. So much so that Internet Explorer doesn't even display the first image even before the transition. Instead I just …

Member Avatar for kflorida78
0
402
Member Avatar for bsewell

Hi all, I wondered if this was possible. i have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition. Basicly, what I'm asking is, how do I do it? …

Member Avatar for pritaeas
0
175
Member Avatar for collizz

Hi I have a basic PHP contact form using JS validation for empty fields, format checks, etc, which all work fine. I now need to add a mail() using the user input. I've made a version work, using some basic validation in PHP and comment out the JS, but I …

Member Avatar for Monster Killer
0
658
Member Avatar for Shanny Chong

can anyone tell me how to print out datagrid to paper using web control? i am using asp.net in vb.net.... is it need to use javascript to write at the html part? can someone kindly teach me pls? i need to know the print function....thanks...

Member Avatar for arrowgunz
0
88
Member Avatar for bidbul

hello, can you please help me? i wanted some clickable texts which opens not 1 but 2 urls in 2 different iframes. this code works on ie and opera but not on ff. i don't know what to do. thanks! [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> …

Member Avatar for bidbul
0
173
Member Avatar for nonshatter

Hey, I have been trying to devise a way to insert a formatted PHP date() variable ($expires) into a publicly available javascript countdown clock. Obviously, this is made difficult because PHP is server-side and Javascript is client-side. This first piece of code is me adding a number of days to …

Member Avatar for BeachyUK
0
237
Member Avatar for shd64

Hello, I have two cfselects set up so that selecting an option in one populates the options of the 2nd select. It works perfectly on my local environment, but when I test it on our QA server, it gives the error: "Bind failed, element not found: sltBiz" where sltBiz is …

Member Avatar for arrgh
0
309
Member Avatar for Dhanish

i need to validate a form using only JavaScript all the validations seem to work except that when it runs the function validateform() it doesn't return anything if all validations have been passed [CODE] <html> <head> <script language = "Javascript" type = "text/javascript"> function echeck(str) { var at = "@" …

Member Avatar for Dhanish
0
2K
Member Avatar for nonshatter

Hey guys, I am in need of a live real-time clock to count down to zero depending on the length of days specified in a database (Like an auction count-down timer). For example, I can retrieve the length of time specified in the database, somehow put that value into the …

Member Avatar for nonshatter
0
707
Member Avatar for sarkar.manab

i have button in javascript, when i click ,it calls a CGI perl script and returns a download popup to me. Prob--> When javascript calling the script it starts a new thread redirecting to perl script and end. So i m not getting any action or response inside javascript. What …

Member Avatar for mitchems
1
1K
Member Avatar for danale

Hello, I am writing an ASP.NET application using javascript. It uses a modal dialog which has a button. When pressing the button another window is opened. I'd like to perform the action on submit without opening a new window. Here is some code for example: [B]code for first.aspx:[/B] [CODE] <html …

Member Avatar for saulat78
0
680
Member Avatar for xirian

I don't know why sometimes in the page url's there is some kind of "get" attached like this: [url]http://localhost/web_marketing/prova/campaign.php?titolo_campagna=sdfsdf&descrizione_campagna=sdfsdf&registrati.x=41&registrati.y=18[/url] Even if i use post in the ajax request.There must be something wrong with my code, if someone could help me please. [CODE=javascript] <script type="text/javascript" > var XMLHttpRequestObject=false; if(window.XMLHttpRequest){ XMLHttpRequestObject=new XMLHttpRequest(); …

0
58
Member Avatar for xirian

Hello to everyone.Sorry if the question has been already made, but is like i need to waste 1 day to find what i'm lookin for so if someone could tell me please how to pass data from ajax to a php page in resonable way(meaning that i don't need to …

Member Avatar for xirian
0
105
Member Avatar for kjelle392

Hello all. I'm sorry if this question has been answered before, but I'm a real noob trying to understand Ajax and JavaScript. Therefore I need a (simple) explanation how to pass multiple selections from a list to my Ajax-script - if there are any simple solutions. I'm not using any …

Member Avatar for kjelle392
0
132

The End.