15,688 Topics
![]() | |
hello friends i have a jquery function who calculate a total of form field in real time (live), the value of field is data from DB table .. it work fine i have add php loop to show all data in table but the jquery function calculate only the first … | |
Hello, today I decided to look into jquery plugins, and with the help of various tutorials I have produce a very simple one that changes the colour of some elements in a page. I would appreciate some help in understanding whether there is something else that I need to do … | |
Hi all, I need to make a function, that returns the number of checkbox groups that has any values marked. So im not after the checkbox alone, nor their values - Lets say I have 4 groups on the page - I need to know how many groups the user … | |
I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => … | |
Whenever I create a prompt, I see this at the top: "The page at [the URL] says:". Am I able to change this or do I, as I was told to use for something else, have to use jQuery dialogs? | |
Hi Please any help me on the below issue i am having a interger as below the formate is CYYDDD 114024 i want to change the above line as 24-01-2014 | |
Hello guys, I am having a problem with a regular expression in my jquery validation. Can someone help me please. The method : $.validator.addMethod( function (value, element) { /^[A-Z]{1}\d{12}[A-Z0-9]{1}$/.test( value ); }, "Invalid NIC." ); An example of the NIC field : L261089652789A or L2610896527897 | |
I'm using Twitter bootstrap 2.0.4 for a website. I have a carousel with a certain number of pictures, which gets created just fine. It starts cycling, the pausing on hovering works, the next and previous buttons all work. Only thing that's odd is that when it reaches the end of … | |
Hi! I am trying to make a small application with google maps! I have successfully addded few points on the map using xml output to php from mysql database.. function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(38.99,22.49), zoom: 7, mapTypeId: 'roadmap' }); var infoWindow = new … | |
This may seem pretty basic, but a classmate of mine is learning Javascript and they keep asking me the same thing: Can I change the two buttons on Alert and Confirm methods so that they don't say "cancel" and "okay"? I guess the same would go with Prompt. Is there … | |
<?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <title>Technology</title> <meta charset="utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript" src="wysiwyg.js"></script> </head> <body class="body" onLoad="iFrameOn();"> <header class="mainHeader"> <nav> <ul> <li> <a href="adminpage.php">ADMIN PANEL</a> </li> </ul> </nav> </header> <?php include 'sideBar.php' ?> <div class="content"> <article class="topcontent"> <h3 … | |
Hi all, I am creating a function, that filters products, that are allready loaded into the DOM. JSFiddle: http://jsfiddle.net/Klemme/8CFVa/2/ Please read on, two get the issue :-) In each product div, I have listet an HTML5 data attribut like this example: data-options="{"brand":"acer","screenSize":"17","processor":"intel","grafik":"intel"}" I have 2 groups of checkboxes working now, … | |
how to show data on different sections on click a link without anchor tag in html without using js,css or php | |
<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is … ![]() | |
Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is a link that acts as a button, and once you click it, it POSTs an ID number of the button … | |
<script type="text/javascript"> $(document).ready(function () { $("#Button6").on('click',function () { $("#Image1").attr('src', 'img/s.jpg'); }); }); </script> <asp:Image ID="Image1" runat="server" Height="284px" Width="284px" src="" style="height:300px;width:300px;left:400px;margin-top:100px;" ClientIDMode="Static"/> | |
My js calender is not showing year properly; showing 114 instead 2014; I tried to figure out but no success.. <html> <head> <title>Date Select</title> <meta http-equiv='Content-Type' content='text/html; charset=gb2312'> <meta http-equiv='Expires' content='-10'> <meta http-equiv='Pragma' content='No-cache'> <meta http-equiv='Cache-Control', 'private'> <style> body { font-family: Arial; font-size: 13; font-weight: 100; color: #000000; background-color: #AAAAAA; … | |
Hello! I'm needing some help integrating HighCharts into my CodeIgniter application and getting data from my MySQL database! I've followed a YouTube video on actually integrating HighCharts and it was extremely straightforward. However, that method included a hardcoded array and I'm needing to generate an array from data stored in … ![]() | |
![]() | I created a search box that accepts XSS attacks: how can perform the page of this search box to be loaded infinitely by inserting ? I am looking forward for your answer Regards |
Dear pals, I have an online app site which need 11 JS files including jQuery & D3.js files. I need to compress it into a single file and it's easy to use . I check some but need node.js and complex stuffs. I found http://jscompress.com/ but it's not working Application … | |
Hi, is it possible to invert colors of a webpage using javascript only? If yes, please provide me sample code / tutorial! | |
I have created a responsive site. This site has two menu like main menu and footer menu. I use selectnav.js in main menu for creating a navigation menu. I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that. So, please help to solve … | |
Hello, I'm using the DX Studio engine (used to develop 3d games/applications), which uses javaScript as the main language. Since the engine is not getting much attention, their forum is almost completely dead. So I thought maybe one of you here at daniWeb could help me out? When previewing my … | |
Hey i want navigation menu with image ... It means that if in my manu there is 3 button home,serviceses,about us than when onmouseover on that text it shows images which i choose..this type of implemntation done by me.. But when images change there is no effect ... And i … | |
var getDataFromUrl = function(url) { rest.get(url).on('complete',function(data) { if(data instanceof Error) { console.log("url error"); process.exit(1); }else {return data}; }); }; when this function (getDataFromUrl) is called by another function it return undefine what is happing | |
Why am I getting an error newDate() not defined ? var thedate = newDate(1971,11,9); console.log("This person was born on:", thedate.getDay()); | |
I'm hoping this is the right place to get some expert advice on putting an app together. I have a Beaglebone Black (BBB, a credit card sized Linux platform) that collects bursts of sensor data. Even though I'm relatively new to Linux, I'm pretty comfortable with the data collection end … | |
I want to use calander to pick a date as DD.MM.YYYY and post to database. Please help............ 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 … | |
How can I display a string at any x and y coordinated position of a webpage? Using only JavaScript, unless I have to have the text already included in the HTML and then hide or reveal it using javascript? I can already do that but I can't use x and … | |
<meta charset="utf-8"> <title>jQuery UI Effects - Show Demo</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <style> .toggler { width: 500px; height: 200px; } #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; … |
The End.