15,120 Topics
| |
I have here my Javascript code that adds dynamic textbox (row) my problem is how can I save the values from the dynamic textbox to database using PHP script? Hope you can help me guys.. Thanks! <script type="text/JavaScript"> function addRow(r){ var root = r.parentNode;//the root var allRows = root.getElementsByTagName('tr');//the rows' … | |
Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo … | |
Hello, how can i make this "Hscren.swf" clicable. Hscren is logo and i whant when you press click to make redirect in index like www.site.com. document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="172"> '); document.write('<param name="movie" value="images/template/style/flash/Hscreen.swf">'); document.write('<param name="quality" value="high">'); document.write('<param name="menu" value="false">'); document.write('<embed src="images/template/style/flash/Hscreen.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="172"></embed>'); document.write('</object>'); Thanks, I … | |
As I spend time in the Daniweb forums, I see some questions that ultimately come down to the issue of manipulating JavaScript data and a user interface on a website. When you build a GUI that lets your user view, add, edit, and delete data, a common approach is to … | |
My issue is this: I call this method twice once inside a function and another in the HTML onclick. Reason is the DIV is part of a context menu. The first function call res is the correct variable I want. The second however changes res b/c Im forced to pass … | |
Hi All, I was wondering if there was a way using Javascript/JQuery to do something similar to the previews on the following sites: * [phpBB.com Styles Demo](https://www.phpbb.com/styles/demo/3.0/?from=submenu&sid=bb14d4e00f1932c986cce47c96a83dc3) * [Kriesi Theme Demos](http://www.kriesi.at/themedemo/?theme=enfold) * [DamojoThemes](http://themes.damojothemes.com/?theme=velocity_wp) Here we have a sort of select menu with an image preview, any ideas how to do … | |
Hi, I have this wierd situation: I am trying to animate 2 images going one past the other on the canvas. I have a function to calculate their new locations etc, and when it's time to play the animation in calls another function to render the new state of the … | |
I'm integarting a stylish vertical content scroll on jquery popup window; but when I including js file then scroll is not working and when excluding js file then vertical scroll is showing but in normal design. Please refer http://websitesolutionsindia.in/projects/yedekar-masala-new/ link; Just click Kanda Lahsun Chutney under Kitchen masala. | |
I'm using [Page Transitions](http://tympanus.net/Development/PageTransitions/) (get animations.css from tympanus.net) to hide/show div. How to add remove classes. I'm trying to add in-out effects with simple classes. How to *Remove class `current` from current div & add outgoing class to same div* and *add class `current` & incoming class to next div*? … | |
Can anyone help me with this homework assignment. Im so confused!!! Create a very simple four function integer calculator with buttons for Add, Subtract, Multiply, and Divide, and with two text-type input fields. When the user enters two numbers and clicks one of the buttons, the answer is displayed where … | |
Heya! Okay, so I was able to register without using javascript. I am able to update my profile without javascript. I can login without javascript, and even send private messages without javascript. I can definitely make posts without javascript. Somewhat puzzlingly, I'm unable to *respond* to posts without javascript, which … | |
I created two dropdown which is filled with data fetched from mysql database by using the ajax and php function, Second dropdown is dependent on the first one and show relevant data. I placed both dropdown in adjacent to one another in table cell format. For the first row the … | |
How can I explain this. I have a list of postcodes in text files in an external url and I have a formfield. When people enter data into the form field, using javascript validation, I want the form to check if the entered data exists in any of the external … | |
Every page of DaniWeb has a Javascript error that says: Uncaught SecurityError: Blocked a frame with origin "http://www.daniweb.com" from accessing a frame with origin "https://www.facebook.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match. I haven't changed anything … | |
Hi, This error must be silly but i just can't seem to get over it for a day now. The following code tries to fill up an image array, and then "do something" with it. The problem is that I get an undefined error for the use of icons[i].src the … | |
Greetings I have been working on a facebook share button for my website for three days now and I am having a hard time to get it work. I tried several things and I think I am close. Below, I post the code I use. If you thing you understand … | |
Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that … | |
I am using javascript:void(window.open('http://server1/test/...ate.php?matter="&Fields!matter.Value + "', '_blank', 'fullscreen=yes, scrollbars=auto'));" to launch a report from a SSRS 2008 report that is being viewed within an iFrame. This is done in the Jump to URL. <iframe name='myIframe' id='myIframe' src='http://sqlreports/Re...t=my_htmlviewer' scrolling='auto' frameborder='0' width='100%' onload='resize_iframe()' ></iframe> the resize_iframe() function just makes the iFrame full … | |
Hello guys, A few days ago I was looking on the net for a good jquery tabbed navigation – I needed it for a project – and I have to say that what I found wasn’t really what I was hoping for. An awful lot of people seem to be … | |
I'm using [this](http://www.menucool.com/slider/javascript-image-slider-demo2) Image Slider with Thumbnails.(http://www.menucool.com/slider/javascript-image-slider-demo2) I tried to make it fullscreen with floating Thumbnails but it is not working properly. Can anyone help me to make it responsive & fullscreen with floating thumbnails? | |
Hello guys, I hope you can clarify something for me please. I was looking into carousels, found an excellent one and replicated in my code (for reference this is the one I looked at, it’s really good and easy to understand https://tutsplus.com/lesson/the-obligatory-slider/). Anyway, I have implemented that and I thought … | |
Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE NEST MONITORING RECORD</title> <link rel="shortcut icon" href="mainlogo_title.png" type="image/x-icon"/> <link rel="stylesheet" href="css/link.css" /> <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" … | |
I have an array ob objects like this `[Object { cat="4", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2",attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}]` and I have series of divs with child divs as follow <div class="container" data-cat="1"> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> … | |
| OK... so here's the deal. I have tried multiple Google and forum searches to no avail. Maybe it's they way I'm searching but this is a last resort. I'm trying to have a page (HTML and Javascript mix) that a user can input a few lines of code into. Then … |
I am trying to use the dynamic page master tutorial from CSS-Tricks.Com. My website is meant to be a one page website. Portfolio and the Services are meant to load dynamic content. When you click on a description link on the portfolio item a larger description that goes above it … | |
Hello, I am trying to load a background image onto my canvas without having it show up on the page itself. So I've defined a bg parameter and applied the local resource to it, and then tried to use the drawImage method to apply it to the canvas, but nothing … | |
As you can see my current code doesnt work and i need your help guys...i want to filter in my search(textbox) and show the data filtered in there corresponding textboxes...can anyone help make my code work?? i've been looking in google for days already for the same idea of my … | |
hello everybody i have a form where require user email to be submit, for it i have made client side behavior, if email field is empty js alert the following currend is alert, but i want to show in popup (alert window) a div who allow users to login in … | |
Hello everyone, I have a question, I heard that the website that appears that the Internet is over is programmed with javascript, can someone explain to me how the steps how it is done, please?? Thanks | |
Hello, I am trying to create an alert message box in my login page in case someone input a wrong password just like in the [Cpanel](http://www.rustoleum-indonesia.com/cpanel) Well, this is what I did so far: I copy the code in this demo example: [demo](http://www.pontikis.net/labs/jui_alert/demo/) index.php <!DOCTYPE HTML> <html> <head> <!-- alert … |
The End.