15,121 Topics
| |
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 | |
i used text avatar jquery for dashboard profile image [avatar JS](http://judelicio.us/initial.js/). when Jquery append <img /> tag dynamicly not getting profile avatar.below is sample script <img data-name="Steve" id='SteveID' class="profile"/> <script> $('#SteveID').append('<img data-name="Jhon" id="JhonId" class="profile"/>'); </script> <script> $('.profile').initial(); </script> | |
... but I can't for the life of me figure it out. I have an object that comes from an application which has a Status property, and within that property is Name and Key. So I can do things like `object.Status.Name = x`. I have created another of these objects … | |
When I remove or comment out the alert statement it fails. $(document).ready(function(){ $('#div_db, #div_tables, #div_data, #div_nav').hide(); $("#div_db").load("generic_get_dbs.php"); $('#div_db').show(); alert('line 5'); }); | |
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.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() … | |
Hi All, I would greatly appreciate considered recommendations on books pertaining to HTML5, CSS and Javascript, for starters, either as dedicated subject reference or in some combination. If a combintion of these subjects are addressed in a given book then additional subject matter (such as game applications, jQuery, mobile applications, … |
The End.