15,121 Topics

Member Avatar for
Member Avatar for Mahesh_13

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 …

Member Avatar for DaniWebUser_1
0
164
Member Avatar for panjiasmara

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

Member Avatar for Troy III
0
3K
Member Avatar for wawahida

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 …

Member Avatar for almostbob
0
2K
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
196
Member Avatar for jonsan32

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

Member Avatar for jonsan32
0
215
Member Avatar for ..sri..

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 …

0
66
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
199
Member Avatar for Priti_P

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

0
77
Member Avatar for CaffeineCoder

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 …

Member Avatar for CaffeineCoder
0
986
Member Avatar for nadiam

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 …

0
171
Member Avatar for mitchell.schols

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?

Member Avatar for Traevel
0
703
Member Avatar for rpv_sen

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 …

Member Avatar for rpv_sen
0
327
Member Avatar for Chris920

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 …

Member Avatar for pixelsoul
0
218
Member Avatar for widy.guilias

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

0
59
Member Avatar for dwlamb

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 …

Member Avatar for dwlamb
0
199
Member Avatar for jean_5

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

Member Avatar for jean_5
0
321
Member Avatar for AntonyRayan

How to focus cursor using jquery for text box, while moving to next field , if it is empty,

Member Avatar for Traevel
0
363
Member Avatar for rhodoscoder

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

Member Avatar for rhodoscoder
0
267
Member Avatar for SimonIoa

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

Member Avatar for SimonIoa
0
160
Member Avatar for erum

I am new to bootstrap framework..I need just small loader WITH bootstrap .. and Just call that small loader with javascript.any help ??

Member Avatar for pixelsoul
0
95
Member Avatar for Siberian

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 ?

Member Avatar for Traevel
0
348
Member Avatar for gcardonav

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 …

Member Avatar for Troy III
0
279
Member Avatar for riwakawd

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 …

Member Avatar for DaniWebUser_1
0
597
Member Avatar for robertlaar
Member Avatar for robertlaar
0
64
Member Avatar for arafath077

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>

Member Avatar for hericles
0
103
Member Avatar for Mike Askew

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

Member Avatar for Mike Askew
0
138
Member Avatar for Lonestar Jack

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

Member Avatar for Lonestar Jack
0
134
Member Avatar for riwakawd

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 …

Member Avatar for Taywin
0
149
Member Avatar for AntonyRayan

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

Member Avatar for AntonyRayan
0
189
Member Avatar for aeinstein

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

Member Avatar for iMadhusanka
0
433

The End.