15,698 Topics
![]() | |
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 … | |
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 | |
[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, … | |
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" %> <%@ … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 != … | |
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 … | |
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] | |
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! … | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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... | |
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"> … | |
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 … | |
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 … | |
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 = "@" … | |
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 … | |
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 … | |
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 … | |
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®istrati.x=41®istrati.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(); … | |
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 … | |
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 … |
The End.