15,121 Topics

Member Avatar for
Member Avatar for gcardonav

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 …

Member Avatar for diafol
0
585
Member Avatar for klemme

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 …

Member Avatar for Caio_1
0
7K
Member Avatar for Niloofar24

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 …

Member Avatar for Niloofar24
0
3K
Member Avatar for YongJAng

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 …

0
126
Member Avatar for phoenix254

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 …

Member Avatar for Makara
0
442
Member Avatar for Niloofar24

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': …

Member Avatar for Niloofar24
-1
377
Member Avatar for chichi9

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"> …

Member Avatar for mrsixcount
0
194
Member Avatar for Ghayo

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 …

0
156
Member Avatar for Aeonix

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 …

Member Avatar for Aeonix
0
1K
Member Avatar for mattyd

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 …

Member Avatar for Aeonix
0
137
Member Avatar for dawbin

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!

Member Avatar for DaveAmour
0
216
Member Avatar for sakuradata

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 …

Member Avatar for diafol
0
160
Member Avatar for SamDragon

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 …

Member Avatar for farasat007
0
86
Member Avatar for Jake.20

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 …

Member Avatar for Jake.20
0
376
Member Avatar for Bensirpent07

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'); …

Member Avatar for Bensirpent07
0
221
Member Avatar for daino

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 …

Member Avatar for Tangerinejoe
0
554
Member Avatar for Mohamed Hakkim

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 …

Member Avatar for stbuchok
0
92
Member Avatar for jay.barnes

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 …

Member Avatar for jay.barnes
0
3K
Member Avatar for DaveAmour

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 …

Member Avatar for Troy III
0
399
Member Avatar for Faixan_1

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 …

Member Avatar for Faixan_1
0
460
Member Avatar for amaya Gimhani

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}: …

0
162
Member Avatar for derekcpt

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 …

Member Avatar for jubbar003
0
181
Member Avatar for PatrikIden

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. …

Member Avatar for PatrikIden
0
317
Member Avatar for filipgothic

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 …

Member Avatar for filipgothic
0
517
Member Avatar for chichi9

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 …

Member Avatar for chichi9
0
316
Member Avatar for berserk

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 …

Member Avatar for AleMonteiro
0
5K
Member Avatar for Bchandaria

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) { …

0
193
Member Avatar for Gl753

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 …

Member Avatar for AleMonteiro
0
205
Member Avatar for yankeefan24

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.

0
231
Member Avatar for ramsiva

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() …

Member Avatar for ramsiva
0
244

The End.