17,114 Topics
![]() | |
hi everyone, i want a ajax code that submit form that has text data and some files. plz i want code nt the links to others plugins or smth else... | |
Hello. I am having a bit of trouble with being able to submit/record the data from a selected dropdown field to my DB. Here is what I know so far: 1. Connection to DB is fine; All other data fields are submitted and recorded to DB 2. The dropdown (To … | |
Some weeks ago I posted this and I realized from the referrals that it may help to be as a code snippet. This is an example of getting products details from categories – subcategories using ajax call. I am fond of OOP and this is not , but I believe … | |
This is sample code for a ASP.Net Login page (using Visual Basic.Net code behind) with OleDB connection to an Access Database using ADO.Net. The datebase used is the Access Northwind Database. With the connection string being placed in the [i]web.config[/i] file. [b]1. [u][i]Web Config[/i][/u] File code:[/b] [code] <?xml version="1.0" encoding="utf-8" … | |
Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery. | |
hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3 and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml everything working fine with me but I need to center google map on the marker. here is the code that center the map and make the zoom … | |
i have a script for replace char that i want for URI in php. But now i need these result but using Javascript. i've try to change using Javascript but cant run <?php function seo_title($s) { $c = array (' '); $d = array ('-','/','\',',','.','#',':',';',''','"','[',']','{','}',')','(','|','`','~','!','@','%','$','^','&','*','=','?','+'); $s = str_replace($d, '', $s); … | |
I want to turn this code into a jQuery function using jQuery.fn.prototype. In other words I want to make a function out of it, so that I can call it like so ('examDiv').prototype.('params'); http://jsfiddle.net/wJUHF/40/ the parameters in the prototype are to be used to select the divs in the html … | |
Hello I was hoping someone would be kind enough to assist me with a major problem I'm having with firefox. I'm running a Mac OS X 10.5.8 platform from a Macbook Pro and was using a very old version of the web browser firefox - version 3.6.23 to be exact … | |
new to javascript so this is probably a stupid question. I have some code example below. what i'm trying to do is use the method i've created which takes a filterType and a filter and then filter by using those two varaibles. The problem i'm having is that I don't … | |
I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) … ![]() | |
Hello. I have a source code written in c++. With this source code i should compile it and make with him a pdf viwer that will be embeeded into a webpage. Can anyone help me what program should i use? how can i compile it and embeed the result into … | |
Hello. I have compiled a c++ program and i want it to be run into a webpage. I have tried the proc_open() command but it doesnt work. any help or suggestion? | |
So , i want when ppl click on my picture open like a new window to show full size picture like facebook, im thinking this gotta be javascript .. How would i do this? Thanks :3 | |
hello, i had done lot of things with canvas like drawing different shapes on it,attaching note on it..now i have a little challenge for me where i have to imitate MS word's elbow connector to be drawn on my canvas..does anyone have ever tried doing something like this???If yes please … | |
I am using a radio player with <iframe> tag. I want to play it all page. But it musn't do postback this player. How can i do with Ajax, Javascript or JQuery ? | |
Hello , i am making a website and have difficulties using Google Chart API. I am using a annotated timeline chart and it works. But i want to change the look of the chart and i am having difficulties with that . Mayby somebody here can help me ? Here … | |
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 … | |
A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it. **Problem**: I have a very nice script for a dropdown that displays country names and the associated flags for each country within a form. This works very well, but... Examples of … ![]() | |
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 … | |
Good day folks, I'm currently doing a project which needs to be something like this http://wandaprint.com/home This is what I've done so far. Can you give me some tips on how to do this one. **HMTL:** <html> <head> <title>My Site</title> <link rel="stylesheet" type="text/css" href="reset.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> … | |
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 … | |
hello daniweb friends i need help in my below calculation script all go right but just in the filed shippingtotal it display `NaN` i don't know why i tried the comment in line 27 and delete line 6 but still same. HELP PLEASE <script type="text/javascript"> function calculatePtotal() { var totalofptotal … | |
Hello All, I wonder if someone could help me, I'm about to start work on a pretty heavy system that will be massively database driven. I was wondering if there was a framework out their a bit like jQuery for example that will assist me in all my MySql funcitonality. … | |
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 … | |
Hi, I've a site and it has a **News webpage**, called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website. I want … | |
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 … |
The End.