15,694 Topics
![]() | |
Hello, i had some problem with the below code. How to change the 'Click to Read More' and 'Click to Hide' function by just click 'Step' to show and hide? page.php <blockquote class="bigtext"> <p class="title"><b>Step 1</b><hr class="style1"></p> <p></p> <p></p> </blockquote> javascript <script> $(function(){ var animspeed = 950; // animation speed … ![]() | |
Help please? ineed to make a program. A program that calculates the average grade of the 3 quizzes taken by the student. Ask the user to enter his/her grades. The program should display the average grade ![]() | |
As it stands, the data elements are submitted to the database. But I need help figuring out two things: one, is how to show the new deptCode in the dropdown list of deptCodes and two, how can I clear the form after a successful submit? Below is the code that … ![]() | |
This is my code to upload files with a progress bar. Problem is all three progress bars are listening for one file and not three different files. Please help me. $('.btnUpload').click(function(){ //submit all form $('form').submit(); }); $(document).on('submit','form',function(e){ e.preventDefault(); $form = $(this); uploadImage($form); }); function uploadImage($form) { alert("in"); $('.progress-bar') var formdata … ![]() | |
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 … ![]() | |
i have a music site where i used ajax with server side php to load pages dynamically to prevent reload. this function works with different directories that are contains pages and also uses hash to show pages urls but i have one issue and that is my back and forward … ![]() | |
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.  <!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 … | |
I have an idea for a website which I have started here - [www.letsgetlunch.co.uk](http://www.letsgetlunch.co.uk). The front end if based on Google Maps with the usual suspects of HTML and jQuery, with PHP / MySQL as the backend. I am not sure if this is the best way for the site … ![]() | |
![]() | Hi guys, It gives me great pleasure to announce that I will be collaborating with fellow Daniwebber Veedeo in creating a fully baked, no nonsense CMS in Codeigniter. I will be overseeing the overall look and feel, PHP and jquery. I will need to discuss how the CMS is licensed … |
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 … | |
how to get information of clients PC:- motherboard, processor , hard disk, Mac Address details using PHP/Javascript/jQuery? I have php/mysql website which require hardware lock. | |
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 … | |
I have a thumbnail slider in my site. I want to reduce time of movement when I hover on arrow. How to do it? Can you make it half of the speed now. link for the file -- [click here](http://expirebox.com/download/c6a4fcd6a5c406ab3d90e47e7bd0ce61.html) ![]() | |
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 … ![]() |
The End.