15,121 Topics
| |
I found this [jQuery Plugin](http://jsfiddle.net/ZdCPs/4/) online. The plugin is exactly what I need and I want to add it to my page but my table is created by obtaining the elements from a db. I tried adding it to the page as the jsFiddle sample but pagination just does not … | |
Hi all, I have this function, which should scroll animated to an anchor. Does anyone know how I can activate this only after a form has been submitted? I want to animate the scroll down to either id="error" or id="succes" - depending on the form was submitted with or withour … | |
Hello. I'm working on my own CMS. I want to use Bootbox.js which is a small JavaScript library which allows us to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. [And this … | |
This JavaScript code is supposed to read an xml document and output it into a table. If the user selects bid, a prompt will ask for a new value and the Start Price will be changed immediately. However, this isn't the case for my code. When I have clicked the … | |
Hello everyone, I need help here. So my problem is how I want to make an image slider where show user uploaded images from his directroy/folder/account whatever. I would like to create like this [image slider](http://postimg.org/image/hl3pdp3mr/). I tried to create it.... [here it is](http://postimg.org/image/g5vva37wv/). and my php code is like … | |
Hello. In javascript there is a jQuery slideToggle() Method that toggles up-down but i want it to toggles left-right. I found a code from [here](http://jsfiddle.net/abwVd/) and then i copied and pasted and edited it in this way: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> $('.nav').click(function() { $('.text p').css({ 'width': $('.text p').width(), 'height': … | |
hi, so im trying to get the course names and teachers printed from the JSON file and having trouble linking it to the drop down please help :) html code <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Course Info</title> </head> <body> <h1>Course Information Search</h1> <form action="" method="GET"> <select name="course" id="course"> … | |
In parent page i have table with dynamic adding row and each row have text box and button to open pop up window. After pop up window open there are some checkboxes and when user select of them the value will be send to text box in parent page. this … | |
Recently I got interested into dynamic execution of scripts. That is, user clicks the button and the JavaScript part (or any other library attached to it) will send a request to a file with `$_GET[]` or `$_POST[]` data. Then PHP (preference) would execute the function or anything that it has … | |
Hello. I am working on a form with multiple text-entry boxes and I am using jQuery to give messages to the User for each field. So far every field works correctly except for the last field, "Company": When a User enters any text the message should disappear, behaving like the … | |
This simple onlick event works in IE and Chrome but not in FireFox (latest version). Is there some syntax issue? <html> <head> <script> function scroll() { alert(1); } </script> </head> <body> <a href="#" onclick="javascript:scroll();" />Click Here</a> </body> </html> Thanks in advance! | |
I'm newbie in web development. If I use the adress "www.xxxxxx.com/test.html#chgd", the second accordion should be expanding. It works perfectly for Chrome but not for Firefox and Explorer. What is the problem in the source code that works for Chrome but not for Firefox and Explorer? I also have used … | |
Hi, The Actual height of applet is 600 and I have 4 IFrames in table which calculates the height of the table > In IE-8 the calcHeight(iframe_id) returns a height of "97" but the same code in IE-11 returns the height of "150" Can anyone tell what is the problem … | |
Greetings Pros, I just want to ask how can i format a certain string to italic. I have this code but it's not working. Well I know it will not work because the array is still in array format not in string yet. Right? $(document).ready(function() { //The demo tag array … | |
I have some JQuery code where an if-then statement is being run after a .slideToggle event. I just don't understand why the if section is still being run when it would appear the if statement is false. Code incoming: JQuery: $(function() { var pull = $('#pull'); menu = $('div#nav ul'); … | |
Hi I'm not even sure what you call this kind of thing but I believe 'InDesign' by adobe does this to some extent. I'm looking for a HTML/CSS/Javascript editor all in one. Basically I want to be able to type my HTML/CSS/Javascript code in one screen and see the results … | |
Hai, Am try to create a autocomplete in my project it was not fix it in particular place so many struggle to make it,Hope you people might give any idea to do it on right way.I need a code in this format like when user enter a value it take … | |
Hi, all I have a web page that breaks down to several divs, two of them containing iframes (one for content, one for a menu): <HEAD> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="styles/default.css?ver=33"> </HEAD> <BODY> <div id="wrapper"> <div id="header">Welcome to my website</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe … | |
I am tinkering with prototypal inheritance in JavaScript. I have the code below and I am trying to find out if there is a way of getting the code which makes Cat inherit Animal actually inside the Cat function - so that it is all niceley encapsulated as one unit … | |
Hi when i click on a link and there are three select box populated dynamically now i want to change the first select box value and want to add the third one select box value add.as much as i populated select box all the value of third select box is … | |
model controller function viewdashboard(){ $this->load->model('AgentPerformance/agentPerformance_model'); $value = $this->agentPerformance_model->dashboard(); //echo $value; return $value; view <html> <head> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/modules/exporting.js"></script> <script> $(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { //alert('ttttt'); text: 'Browser market shares at a specific website, 2014' }, tooltip: { pointFormat: '{series.name}: … | |
Guess this is javascript. Similar as in excel, (I have seen this before), lets say I have 3 fields in a form. Now when entering a numeric value in field 1, and lets say field 2 has the value of 5, then the value of field 1 times field 2 … | |
Hello i have this codes to try to get this working. But when on ./index.html all the li are given a class of current_yes exept for the ./clients.html link. And the other way aroud if i go to Clinets/clients.html then all li exept ./index.html are given a class of current_yes. … | |
Hey guys, I am having problem for some time, and can't figure it out by myself I have code like this html page with select options which execute javascript function ajaxKupac and send request to page ajaxKupac.php and response is put inside div with id opcije then inside that content … | |
so i am trying to output course information when the course number is selected and the button is clicked. here is the html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Course Info</title> </head> <body> <h1>Course Information Search</h1> <form action="" method="post"> <select name="course" id="course"> <option value="420-121">420-121</option> <option value="420-122">420-122</option> <option value="420-123">420-123</option> <option … | |
I have found several different methods for doing this online but for some reason i just cant get any of them to work for me, it may be they way im calling them or something but it also might involve my lack of expereince with JS but regardless I have … | |
angular .module('abc') .factory('dashboard', dashboard); function dashboard($http, notifier) { var service = { getAllMasterJobsNames: getAllMasterJobsNames }; return service; function getAllMasterJobsNames(request) { return $http.post('/JSONServices/JSONCampusManagementService.svc/GetAllMasterJobsNames', request).then( function (response) { if (angular.isUndefined(response.data) || (angular.isDefined(response.data.IsException) && response.data .IsException)) { notifier.error('Error fetching the Active Events : ' + JSON.stringify(response)); } return response; }, function (response) { … | |
I've went over this code a number of times but I can't see where the issue lies. I'm trying to make the age text field numeric only however it won't validate If someone can point what I'm doing wrong here it be greatly appreciated :) <!doctype html> <html> <head> <meta … | |
I have two cf selects one includes three option and I need to activate the second cfselect based on the selection? any Ideas how to do this. The CFselects are being populated from a DB. | |
I am getting all instead of am or pm any body help to get am or pm function display_ct() { var strcount var x = new Date() var x1=x.getMonth() + "/" + x.getDate() + "/" + x.getFullYear(); x1 = x1 + " - " + x.getHours( )+ ":" + x.getMinutes() … |
The End.