15,127 Topics
| |
I am using the ShieldUI jQuery grid component for a project of mine and wanted to apply some additional calculations on the data and display these results in the grid. Is there an easy way to do this with the component or is there something that I am missing? | |
CakePHP has few immense tools for a PHP developer to turn out JavaScript utilities utilizing merely PHP. The JsHelper hold up the example, jquery UI. The Ajax Helper uses the forever-accepted Prototype & script libraries for Ajax process & client side results. [Click Here](http://www.phpandsql.com/how-to-use-ajax-in-cakephp/) | |
In javascript, I took the difference between twodates. When Finding difference between two dates for example 12.00.PM to 02.00.PM, I got output 2 But when I am finding difference between two dates like 12.00.PM to 01.30.PM, I got output like 1.5. So I want to show this 1.5 like 1 … | |
Hello, Cek this website: http://www.akronyms.net/demo/arvin-html/v_1.3/ On the portfolio part. I am looking for a jquery that is exactly able to shuffle pictures like that. How? Thanks in advance. | |
I have a code for countdown timer and it works perfectly fine.. <html> <title>project prelim</title> <head> <script type="text/javascript"> var ss = 10; function countdown() { ss = ss-1; if (ss<0) { window.location="testover.html"; } else { document.getElementById("countdown").innerHTML=ss; window.setTimeout("countdown()", 1000); } } </script> </head> <body onload="countdown()"> <center> <table width="100%" height="600px" style="text-align:center;"> <tr><td … | |
I'm trying to change the code below to upload multiple files. Each with a seperate progress bar as shown below. Please help. ![snip.JPG](/attachments/large/4/e311263a0071b800273939069664b69b.JPG "align-center") <!DOCTYPE html> <html> <head> <script> function _(el){ return document.getElementById(el); } function uploadFile(){ var file = _("file1").files[0]; // alert(file.name+" | "+file.size+" | "+file.type); var formdata = new … | |
Have this little countdown timer that counts down to 18:00 everyday and then resets as soon as it completes, the problems is I need to get it to work on the server time and not locally but I have no idea how? Let me know if you need to look … | |
I am newbie in ajax.i want to send a normal ajax request when i will click the search button.i write some code the search onclick function.. $(document).ready(function() { $("#Search").click(function() { $.ajax({ "dataType": 'json', "type": "POST", "url": "../test/loginform_details.do", "data": { username: $('#username').val().toString(), password: $('#password').val().toString(), }, "success": function(data) { fnCallback(data); } }); … | |
Im working with WordPress right now and this plugin - http://codecanyon.net/item/ultimate-player-with-youtube-vimeo-ads-wp-plugin/7316469 - I also have the jQuery version too. I have 20 categories on a page. Its tabs then when you click the tabs a new video player loads with a seperate video. The only issue is I have 20 … | |
When I access call.php the variable name 'json' is not accessible to param.js as below: init.js $("document").ready(function(){ var data = { "action": "init" }; data = $(this).serialize() + "&" + $.param(data); var json; $.ajax({ type: "POST", dataType: "json", url: "response.php", //Relative or absolute path to response.php file data: data, success: … | |
Hello, I want to ask, what going on for this. I try to implement form, user key in the username, it will trigger the function to check the username is existing or not. I tried to figure out the problem, but dont know what's going on... My Js file, jQuery(document).ready(function() … | |
in onblur i called two different events; but its not working. First event only working. How to do? either in onBlur() or onFocus() Example: onblur="a();b();" | |
| For my angular controller I have: app.controller('AdminCtrl', function ($scope, $http) { $scope.data = { Name: '', Password: '' }, $scope.login = function (data) { $http({ method: 'POST', url: '/login/postlogin', data: JSON.stringify({ data: $scope.data }), contentType: "application/json", dataType: "json" }).success(function (data) { alert('success!'); }).error(function (error) { alert(error.message); }) } }); For … |
I have a form that need user verifaction from ldap before being submitted. I have an ajax code for the same, to get the value of the field onchange and query ldap so that it returns the name and email id. My code is as below : <input type="text" name="Admin_name" … | |
I have this function: function (Blobs) { console.log(JSON.stringify(Blobs)); // Make the progress bar here Blobs.forEach(function(Blob) { console.log(Blob); $.post(window.location.href + '/add', Blob); // Increment the progress bar by the correct amount, once above request has completed }); } (This function is passed as an argument, hence no name) I want a … | |
Hi. Below is the code which parse data from mysql into json, but for the name column i want to have <a href="http://example.com">column name</a> instead of jst the column 'name'. is it possible in any ways. <?php $link = mysql_pconnect("localhost", "user", "pass") or die("Could not connect"); mysql_select_db("userdb") or die("Could not … | |
I have this codes in a php file (init_js.php): <script> <?php $idx = $_GET['id']; $APP_WEB_PATH = APP_WEB_PATH; ?> var idx = '<?=$idx?>'; var APP_WEB_PATH = '<?=$APP_WEB_PATH?>'; </script> Then I import this file to a php page (branch.php). When I view source I can see var idx = '7'; var APP_WEB_PATH … | |
The following codes can be found in my javascript file (code.js): function addBranch(path, id){ //Click "Cancel" button return to Restaurant Manager Page $("input[name=btCancel]").click(function(){ window.location.href = path + '/branch_manager.php?id=' + id }); } The following codes can be found in my php file (test.php): <script src="<?php echo APP_WEB_PATH; ?>/js/jquery-1.11.1.min.js" type="text/javascript"></script> <script … | |
I am getting an error for the line of code included in a js file. $(document).ready(function(){ //Click "Cancel" button return to Restaurant Manager Page $("input[name=btCancel]").click(function(){ window.location.href = "<?php echo APP_WEB_PATH,"/branch_manager.php?id=".$_GET['id'];?>"; }); }); The uncaught exception points to window.location.href = "<?php echo APP_WEB_PATH,"/branch_manager.php?id=".$_GET['id'];?>"; Is it because I cannot mix JavaScript with … | |
hi im new to javascript and im attempting it for the first time. im using framework 4.5, asp.net, c#. i need help in with the javascript. i need calculate quotation and display the information. heres my code so far model.cs public class QuotationView { [Display(Name = "Pickup Address")] [Required(ErrorMessage = … | |
I am using javascript for a responsive collapsable nav. I have used this script in the past successfully, but now it's not working. The url is [http://www.piscesprep.com/index](http://www.piscesprep.com/index). index.php is calling the responsive-nav.js and this is the code on my inc_nav.php: <a href="#nav" class="menu" id="toggle"></a> <div role="navigation"> <div id="nav" class="nav-collapse"> <?php … | |
hi i want to add an instant quote calculator on the about page and i want to know the steps on how to do it. im using asp.net mvc5 | |
Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and … | |
I want to resize my caroseul on click of a button. Below is the code that needs to be changed. Width: 100% needs to be changed to width 50%. I am using JQuery maybe there's a way using that but nothing works so far other than changing the CSS itself … | |
I'm having trouble applying the javascript necessary to close one set of sub-menus when another set is opened. The tutorial site provided some demo code that works, but I can't get it to work without displaying all the various buttons to activate the other available skins. Up top is the … | |
Hello, I have no such information or you can say less information about the ajax can anyone help me out the thing is that i want to pass dir id in the get url but that get id will be selected by the user though from a drop down i … | |
Hi, I'm a total hack with jquery and need some help. I've an html select list and a text area. The select has about 25 options in it. When a specific option is selected, I'd like to populate the text area with some text. Example: HTML: <label for="comments">Technician Comments: </label><textarea … | |
what i need is how to save the file part to mongodb using mongoose and also the image id, and also get each image in a link such as localhost//3000/users/photos/234 as u can see im a newbie here thanks /*Define dependencies.*/ var express=require("express"); var multer = require('multer'); var mongoose= require … | |
I am using the ShieldUI jQuery chart plugin and have the following issue. I went through the basics of binding the control to static data and all works well. However, I would like to load live or dynamic data to the chart. | |
hi i used multer to create an upload script now i would like to display the photos uploaded by eacch user on diff pages with diff adrees i.e exprome.come/photos/234 and also every photo would have its comment. any ideas? i think every comment should be saved with the photo id … |
The End.