15,127 Topics
| |
I've noticed recently there is a javascript tag generated in html code only while viewing page <script type="text/javascript" src="6_S3_"></script> search for it in file but couldn't find it, and am worried about this. | |
Hello everyone, i am creating a website where i need to store some data from the signup form in some arrays(i need them for the login form, to check if the specific person has already an account). I need to store only the data from a few people as the … | |
Currently I'm using xampp, and creating chat-app with AngularJS and integrated with Laravel framework. My AngularJS front-ends is actually placed in Laravel's views folder. And the back-ends stuff (Angular's controller, services) placed in public/app folder. I try to integrate chat-app template (front-end) into my video template. So it's actually a … | |
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 … | |
| Is it possible to add a character entity to an input field using javascript? I've been able to do it statically by just including it in the value attribute of the input tag like this: <input id="degInput" type="text" value="180°"> However, I'm not able to use setAttribute() to add it dynamically. … |
I am trying to autofocus the form's first field. but not able to. My scenario is, in first load it shows table with data.On this page a <a> link is given which does nothing but showForm="true" which shows form for adding data. Code is as below: // controller side angular.module('degreeCtrl', … | |
i have created one table dynamically using javascript & displaying on htmlpage in div tag, in that table i have 2 fields one is name & second is DeleteLink, one input textbox in html, my question is when i click on Name field the text on which i am clicking … | |
some month ago i work to make a interactive web with javascript but when i copy the project to my patner which use Apple Mac Pro then the interactive is not active. So i use another try change function showDiv(tahun){ document.getElementById(tahun).style = "display:none;"; } to function showDiv(tahun){ tahun.style.display = "block"; … | |
hello. is that possible to hide an empty table when there is no records found from the mysql database. if possible, how? i have no idea to do it. hope anyone can help me. below is part of my coding: <?php $count=0; include 'dbconnect.php'; if (!isset($_GET['startrow']) or !is_numeric($_GET['startrow'])) { $startrow … | |
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 … | |
This seems simple enough, but I can't find how to do this anywhere on any forum. I have a table of cells that have a schedule of classes. There are 8 buttons above the table that when pressed I want the cells to highlight in a corresponding fashion. For instance, … | |
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 … | |
i have this code that creates a div, adds id and appends the div. I am trying to drag that div but its not working like it should. $("<div class='twin_seat' style='width:120px;display:table-row;'></div>") .attr('id', twinseatsid) .appendTo(cinema) .draggable({ containment: cinema, snap: true, helper: 'clone' }); im using `helpe: clone` because i just want … | |
Hello There, I have used below code for input field and error span <form name='SubmitGuest' class='simple-form'> <div> <span class="lable"> Guest Name</span> <input type="text" style="margin-left:0.5px;" name="guest_name" ng-pattern="/^([a-zA-Z]+\s*)*[a-zA-Z]+$/" ng-model="guestData.guestName" required placeholder="Guest Name"/> <span ng-show="SubmitGuest.guest_name.$error.pattern"> Please enter valid Name </span> </div> <!-- such multiple div for fields. --> </form> It is working correct. … | |
OK, here's a question for anyone willing to step up and answer or point to solution: I have some HTML forms for site visitors to request product information. Some of these forms send data to SalesForce. There has been an issue of spam coming through, so I have implemented CAPTCHA's … | |
Hello, im trying to create a page that drag, drop and clone image on the drop plus dynamically add ids to the clones images. i sort of have it except the dynamic id part im not doing it right. $(document).ready(function(){ var cinemascreen = $("#cinema-screen"); var cinema = $("#cinema-wrapper"); var single … | |
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 wasn't sure where to put this. I put it In JS because JS is client side and that's what I'm technically looking for. I'm looking to create a Reddit type website....I want my Video and Image files hosted on a 3rd party sever. NOT on my hosting plan. What … | |
hi guys... i want to make a hover button in react.js.. so there is a button.. when the mouse in on the button(hover),the new button appears above the previous button.. this is my code so far var Category = React.createClass({displayName: 'Category', render: function () { return ( React.createElement("div", {className: "row"}, … | |
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 "]; … | |
How to focus cursor using jquery for text box, while moving to next field , if it is empty, | |
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"> <!-- … | |
i have formatted my pc i am trying to install Flash Builder again and i am getting an error. Installer User Inteface Mode not supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command line option followed by the UI mode identifier. … | |
I am new to bootstrap framework..I need just small loader WITH bootstrap .. and Just call that small loader with javascript.any help ?? | |
Is it possible whether with JS or jQuery to take an image, make it fit a container proportionally if it's too big for the container, then export the results to a PNG image, saving the step of redoing the image from scratch in a smaller image size ? | |
I cleaned up my code but now when I run it I am getting an error. I am not sure where it is coming from since it was working before I added the nested view and did not change the controller. Here is my [plunkr](http://plnkr.co/edit/vN06ZQYWW0cpO4izBtgT?p=info). Let me know if there … | |
On my readURL() function in my scrtipt. I would like to know what would be the best method in being able to auto get the ID from my img tag. Because I have mulitple img rows that get created with own id. What would you think so that the reader.onload … | |
Can someone help me in building Interactive map with the help of javascript |
The End.