3,446 Topics
![]() | |
I have set container like: <div class="container" ng-app="myApp" ng-controller="tagsCtrl"> <h3>Angular Tags List Editor - Autocomplete</h3> <div class="row"> <div class="col-md-7"> <div class="panel panel-default"> <div class="panel-heading"><h4><i class="fa fa-tag fa-lg"></i> Tags</h4></div> <div class="panel-body"> <div class="row"> <div class="col-md-12"> <tag-manager tags="tags" autocomplete="allTags"></tag-manager> <hr> <h3>Current Tags</h3> <ul class="list-unstyled"> <li ng-repeat="tag in tags">{{tag}}</li> </ul> </div> </div> </div><!--/panel-body--> … | |
I have to change $ into jQuery due to conflict validation. Please find code. It seems an issue with the line that jQuery validation passes an error. how to solve this ? Line with an error: Manipulator.prototype.setupEvents = function() { var self = this; jQuery('#add').on('click', jQuery.proxy(self.onAddClick, self)); jQuery('#randomize').on('click', jQuery.proxy(self.onRandomize, self)); … | |
update_image2.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Portal</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- JavaScripts--> <script type="text/javascript" … ![]() | |
I'm doing a one page site. At the top of the page I have a fixed position header with logo, menu etc. As it stands now, when I click on a menu link to take me to the relevant section it takes me there ok but as the header is … | |
I have tried different free jquery responsive imagesliders. They do work but the problem is they dont stay confined in the div container where i put them. Looking at the code i see parts which use px instead of % or em. Could that be the reason the dont truly … | |
Hi I want to greet user when they type their name in the textbox. e.g WHEN THEY TYPED IN THEIR NAME A LITTLE POP UP, OR A LINE APPEARED IN AREA THAT SAID “Hi XXXXX, nice to meet you!” Here is the sample code. <div class="form-group"> <label class="col-xs-3 control-label">What is … | |
Need help with the quiz problem. I want to set time limit for each question in quiz module (say 30 seconds) and after that time, the form will auto submit the question (auto submit = no option selected = unanswered). There are 3 questions, so total time limit is 90 … | |
Ok Guys I have searched a lot but didnt find proper suitable content Where In a single php page 1)I want to populate 2 drop down list which display data! from 2 different tables that is table_designation and table_relation and 2)at same time am going to add one question[by textbox] … | |
I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I … | |
I've been using thisJQuery code to fade in divs (all of the same class .showme) But what I would like to do is fade out the previous div as the next one fades in. Can anyone offer assistance on this? $(document).ready(function() { /* Every time the window is scrolled ... … | |
I tried different jquerry sliders from the internet. Some work but only as full background while i want the slider containend in a div "<div class="banner"> ". Im now using unslider from unslider.com, while the sliding works the images totally leak out of the div container.How can I change this … | |
Hi Friend. i want to add a tr in an table using php only. please help me how to create it. i dont want jquery or javascript. ![]() | |
I don't work too much in jquery and javascript so I am a little stuck on this problem. I have a long form for people to fill out and it gets added to a database and we use the information for certain reports we need. We want to add a … | |
I have a question I have been struggling with for a while, I think I might be taking the wrong approach or not understanding the basics. But I am looking for a solution, so if I have it the "wrong way" please let me know. I am building a login/registration … ![]() | |
Hi.. I want to reset the multiple file input field. Actually my file input field is an array. I used the following code and it works if the input field is not an array. <script> $(function() { $('input[type=file]').change(function () { var regex = new RegExp("(.*?)\.(jpg|jpeg|png|pdf)$"); var f = this.files[0]; $.each(this.files, … | |
Hi, This will do the job, but it's ugly, so how to do this more elegant? $('ul').prepend('<li></li><li></li><li></li><li></li><li></li>'); $('ul').append('<li></li><li></li><li></li><li></li><li></li>'); Thanks in advance! | |
I feel like this is a very dumb question but please excuse me if there is an obvious answer. I have just recently seriously dug into JQuery (loving it by the way). Anyways in the code below you can see I have the color to animate to white and green … | |
Hi.. I’m trying to create circular menu bar,but my menu bar is nearly similar to tympanus circular menu bar(visit [Click Here](http://tympanus.net/Tutorials/CircularNavigation/index2.html)) but in tympanus if we want menubar we must click open/menu button I want menu bar(fixed) to be display without any any clicking and instead of button i need … | |
Hi, i'm trying to implement a flot.js graph using a custom php array as data. Here is what i've done : <?php foreach ( $dynamic_prices as $limit => $price ): $coordonnees[] = array($limit,$price); endforeach; ?> <?php echo json_encode(($coordonnees), JSON_NUMERIC_CHECK); ?> This code outputs : [[5,9],[6,8]] is it the right format … | |
**Question:** I am new to JQuery. I wanna passing my values to another page using Jquery by clicking on 2nd button instead on submit button. I tried echo what values it carried to another page (a.php) and I got, "[object HTMLInputElement]". There's no values on a.php page. I got "array(0) … | |
I'm still getting the same error. Sometimes my "normal" jquery will work, sometimes it will not. Note: im targeting .sub-menu with a .after and inserting an icon. you click the icon and it displays the hidden menu.. why does it work sometimes but not others??!!! This is totally driving me … | |
Hello, My website www.m.keybench.com is supposed to have a sticky header.. It works sometimes but others it will not actually add the class "sticky," to the header.. I think it might be because I have a secondary jQuery library hooked up to the site. Any help is appreciated! | |
Hi everyone, I am having some problems implementing a js slide caption on my webpage and I would appreciate if someone could help. Here is the Js caption http://ryun.github.io/HCaptions/ and here is the code I am working with : <html> <head> <style> .cap-overlay{ font-family: monospace; font-size: 26px; color: #666; } … | |
I have several pages that has the following mark-up in it, but the value of the datetime attribute is on each page different. <a class="index" href="#"> <time datetime="2015-W01"> <strong>week</strong> <strong>01</strong> <strong>2015</strong> </time> </a> On each page I include with PHP at the bottom a page with the following mark-up: <ul … | |
Hi, I would like to put steam effect on my home page. How to make animated steam effect using jquery? Please help me. My Website : http://hotels-b2b.com/biryani/ | |
Hi I am having two textbox, textbox1 is having autosuggest feature. i want to display related value based on textbox1 value. can any one pls help me. i collected the code from internet **Output Example** Report Name : PHP Report Version: It has to display the Verison from the database. … | |
Hi, im trying to increment the numbers to create unique id so i did: twin_chairid1 = 1; twin_chairid2 = 2; var twinseatsid = "twinseat" + twinseats; //create div for twin seats $("<div class='twin_seat' style='width:120px;display:table-row;'></div>").attr('id', twinseatsid).appendTo(cinema).draggable({ containment: cinema, snap: true }); //create unique id var twin_chair1_id = "B" + twin_chairid1; var … | |
I am having a list of values inside a loop. I need to turn all those values into exact 5 star rating. I have searched a lot, but i cant get the exact answer what i need. <?php $a=0; while($a<5) { echo "<input type=text value=$a><br/>"; //need to display star rating … | |
Here is my [JSFiddle](http://jsfiddle.net/jimysb/bh8t0d8u/) demo and username doesn't display minlength message and remote. For remote I'm not sure how to check the username if exist or not. | |
Hey my website www.m.keybench.com is using jQuery mobile and having some serious problems! sometimes my script fires and other times it doesn't.. someone please help? | |
Hi Friends i am trying to upload the photos in my dynamic place through my script. my path will be specified below [B]$uploaddir = ../gallery/categoryname/name/[/B] when i was trying to upload the photo is not moved in the above path. unfortunatelly is it moved to [B]../gallery/[/B] Please help me to … | |
I have an endless scroll application in PHP and jQuery. This my javascript: var base_url = window.location.origin; $(window).scroll(function() { if($(window).scrollTop() + $(window).height() > $(document).height() - 100) { var offset = $(".badge-item").length; console.log(offset); $.ajax({ url : base_url+'/index.php/display/jQuery_movies', type : "post", data : { offset_cnt : offset }, datatype : 'html', success … | |
I have the following code: //list is the result of the query of the database var list =[]; var _this = this, $div = _this.$div, opts = _this.settings, $table = $div.find(opts.tableSelector); var fieldsToShow = ["Right Identification", "Left Identification", "Total", "RIGHT IDENTIFICATION RELAPSE", "LEFT IDENTIFICATION RELAPSE", "Total", "IDENTIFICATION TOTAL IN "]; … | |
I've worked with alot of jquery galleries before but this one won't work.I'm using Twitter bootstrap and I wonder if it's JS bootstrap files are interfering with the JS file for the Unslider jquery gallery -> [Unslider](http://unslider.com/) that I'm using. ` <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- … | |
Hi, so for my .net project I've to use HTML/CSS provided by another colleague. Ive copied this into the site master page in .net but it doesn't appear in the child pages, anyone have any ideas how I can fix this. The code is: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" … | |
When I click on my button add new row it creates a new row and with the same content as what is in orignal row. But for each img I would like to be able to have its own unique id / selector rather than the same id. How am … | |
this is my index.page <html> <head><title>Registration</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script> <script type="text/javascript"> function validate() { if(document.register.name.value == "") { alert('Enter valid name'); document.register.name.focus(); return false; } if(document.register.email.value == "") { alert('Enter valid email'); document.register.email.focus(); return false; } else if(document.register.password == "") { alert('Enter Password'); document.register.password.focus(); return false; } if(document.register.repeatpassword.value … | |
hya i have purchased a script package for my site and im having problems with the photos upload page i can upload a photo but when i go to save it im told to make a selection i cant make the selection as there is nothing to select and ive … | |
How can I convert html to image? | |
Hello! I have some i like this: `<i class="pcon" style="background-image: url(./styles/SkyBoot/imageset/topic_unread.gif); background-repeat: no-repeat;">` I want to change only this: `styles/SkyBoot/imageset` to this: `styles/SkyBoot/imageset/black` Because i have cookies and i want to create second template. I want this to change images for my black template (second theme) I try with: `jQuery('.pcon').each(function(e) … | |
Apologies for such a vage title, but I seriously don't know where the two issues I have are related to. My JavaScript/jQuery skill is on a noob level, so bare with me please :) I'm working on a AJAX/HTML5 History website which is a pet project of mine. It will … | |
I am using uploadify to upload images in php. After uploading the files, showing the progress bar as completed but the uploads folder is showing as empty. I have downloaded the script and just added a new folder to upload files as uploads folder. Here is my code index.php <!DOCTYPE … | |
Basicly the title say it all. | |
I'm using Multiple instances of jQuery.countdown. How to create countdown circles using jQuery Knob. http://jsfiddle.net/qt3rteL5/ http://jsfiddle.net/26ppb5yc/1/ (reload preview frame to see error and result) **jQuery.countdown Multiple instances** <div data-countdown="2016/01/01"></div> <div data-countdown="2017/01/01"></div> <div data-countdown="2018/01/01"></div> <div data-countdown="2019/01/01"></div> **jQuery Knob** <input class="knob days" data-readOnly="true" data-insidelabel="Days" data-width="150" data-angleOffset="180" data-fgColor="#fff" data-skin="tron" data-thickness=".1" value=""> <input class="knob … | |
Hello. I am working on wordpress **plugin.php** file Add one sub menu and working on but when i call ajax function but its not given proper output. <script> jQuery(document).ready(function() { jQuery(".downloadpdf").click(function () { var goat_id = jQuery(this).attr('id'); //Alert got id e.g 218 jQuery.ajax({ type: "POST", url: "<?php echo admin_url( 'admin-ajax.php' … | |
Hello everyone, I was looking for a code like to store iframe's id in javascript's variable inside different divs. <div id="player"> <iframe id="SAR7KmiCHto" width="560" height="315" src="http://www.youtube.com/embed/SAR7KmiCHto?enablejsapi=1" frameborder="0" allowfullscreen></iframe> </div> <div id="player2"> <iframe width="560" height="315" src="//www.youtube.com/embed/9P9JSgZwrjc" frameborder="0" allowfullscreen id="9P9JSgZwrjc"></iframe> </div> In above code there are two div ids i.e player and … | |
Hi, I am new to web development so please bear with me, i am looking to create statistic calculators like f test etc. In order to do that, i need to provide input fields to enter multiple numbers in input area along with providing ability to copy paste data from … | |
This is my index page <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> <script type="text/javascript"> function loginFunction() {//alert('kjo8iyh78i'); var username = document.getElementById("username").value; var password = document.getElementById("password").value; if(username == "") { alert('Enetr User Name'); } else if(password … | |
hey, im working on a site on drupal with a theme, i have the main page with slider, i created a new page and i want to use some jquery there, but i search on internet they said that add scripts[] = jquery.js into you them file, the problem when … | |
Hello, I would create Login page. which - separate Php for random username password generator - this is just a dummy login with random username and password generator. No database required. - e.g like http://www.surgaliga.com/ **Need:** Is they any script that random suggest detail of login and password after given … |
The End.