15,121 Topics

Member Avatar for
Member Avatar for gentlemedia

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!

Member Avatar for gentlemedia
0
219
Member Avatar for Jenieline

I use append to add another form of it and it work but then in the second column if I'll choose a product name in the second column the price in the first column will also change and it will not place any price in the second column and same …

Member Avatar for AleMonteiro
0
89
Member Avatar for stevenson.nelli
Member Avatar for GlenRogers

I'm trying to use fullPage.js but its only ever showing my first section! I have my sections set up like this <div class="section"> Section 1 </div> <div class="section"> Section 2 </div> <div class="section"> Section 3 </div> and I inatlize like this <script> $(document).ready(function() { $('.wrapper').fullpage({ sectionsColor: ['blue', 'red', 'green'], }); …

Member Avatar for gentlemedia
0
402
Member Avatar for Bensirpent07

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 …

Member Avatar for Bensirpent07
0
324
Member Avatar for old_apache

hi guys i just found wierd thing, my cookies work in local(Windows) but, after i pushed to server (Ubuntu), the cookies null (empty). this the code to set cookies: set: function(name, value, duration, domain, path, secure) { name = this.prefix + name; if (duration == null) duration = this.duration; if …

0
112
Member Avatar for epicrevolt

Title should be load ajax inside ajax because facebook comments load via ajax I am building an all AJAX site for a Facebook iFrame page and am having an issue. All the pages and what not load up dynamically just fine, but some pages use the Facebook commet system. After …

Member Avatar for stevenson.nelli
0
325
Member Avatar for fireburner29

Hi there, I have a row of checkboxes and I want the following: - when clicking the child it has to select/unselect all parent checkboxes - and you uncheck one of the child checkboxes, the parent should also uncheck. Here parent ->child select/unselect attached. <script language="JavaScript"> function checkAll(theForm, cName, status) …

Member Avatar for fireburner29
0
2K
Member Avatar for euhiduwehfui

I have a page which has a form table. It displays select option when an option is selected the user clicks button and it runs choosecake.php which has query for updating. I need the select to be dynamically updated and display the success/error message like "updated" or "no results" on …

Member Avatar for euhiduwehfui
0
803
Member Avatar for tudor_1

Hello! I am trying to make a custom drop down list, each row having two selectable options. To be more precise, I want on each row to have two options: select item(which should act as a implicit ddl works) or delete selected item (which removes the selected item from the …

Member Avatar for tudor_1
0
111
Member Avatar for Tuan_2

I'm trying to run a script that clicks on two seperate buttons/Ids on the same website. I want to run **first** document.getElementById("add-to-cart").click() which will redirect me to the **cart/basket page** of an online store once I'm there, i want to run document.getElementById("checkout").click() which will take me to paypal. How do …

Member Avatar for Tuan_2
0
199
Member Avatar for Tuan_2

<a href="javascript:inventoryCheck_panel.open('paypalexpress');" class="button cta_button" data-btntype="hyperlink" data-btnname="cart_paypal" onclick="return runCMConversionEventTag({conversionCategory: 'Shopping Cart', conversionEvent: 'PayPal Checkout'})" title="Check Out with PayPal" id="cart_paypal_button" tabindex="6500"><span tabindex="-1"></span></a> is this code but i need help to click on it..

Member Avatar for Tuan_2
0
144
Member Avatar for Aethon

I have an page that outputs records from a database (php/mysqli). I'm using TinyMCE to enter in information into the database. I'm trying to create an image gallery that uses Lytebox to view the images. By replacing a div in the record with an on-the-fly iframe containing a script that …

Member Avatar for Aethon
0
312
Member Avatar for Priti_P

Hello, Am new n angularjs. Am using angular bootstrap datepicker First issue 1] I want to use calendar for choosing only month and year but am not able to I did the all ways but all are unsuccessful 2] I want to remove Today|Weeks|Clear buttons from datepicker as per gievn …

0
92
Member Avatar for Azer_1

Hi there, i have fixed left column and header datatable. it shows all correctly in Chrome browser. but in firefox when first time opened it displays everythink correctly, but when i search smth (tagno input box) the table spans toward right (in firefox and IE). Can anyone help me? Thanks …

Member Avatar for iamthwee
0
72
Member Avatar for Thilip

I try to get facebook id when like button pressed, the function alerts Id, but when I retrun value it says undefined. Here is my code window.fbAsyncInit = function() { FB.Event.subscribe('edge.create', function(response) { //ajax code to be added for like system usr_id = checkLoginState(); alert(usr_id);// this returns undefined console.log(usr_id); }); …

0
45
Member Avatar for manchurianCEO

Hi all, found this questionaire online which looks similar to what I am trying to make for this non profit's website. The only difference is that if there is a "NO" answer in any question, I'd like it to say "sorry, you do not qualify" and if all of them …

0
105
Member Avatar for manchurianCEO

Hi there, I am trying to make a small javascript questionaire to include in a website for this non profit where I volunteer. It would basically ask people a few yes-no questions and I would like it that at the end, if all check yes, it would give something (congrats... …

0
98
Member Avatar for WaleedaaN

hello, i make a programing a code for uploading files on array but its not work fine and im working for 15day with it i tried so i need help please i explain my idea maybe you have and ready code, i have script php for article any user can …

Member Avatar for WaleedaaN
0
131
Member Avatar for Siberian

Hi, I did a simple loop in JSFiddle but dispite the code being error free, JSFiddle doesn't run the code even though the framework is set on PureJS ?

Member Avatar for pixelsoul
0
368
Member Avatar for McLaren

Hello, I don't understand why when clicking on map icons, sometimes the infowindow is blinking on firefox. It blinks when we use images on it. I tested on other browsers - opera, chrome, IE, even IE7 and it works well. Is this a firefox bug or what? You can see …

Member Avatar for Jayen
1
489
Member Avatar for mitchell.schols

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 …

Member Avatar for mitchell.schols
0
85
Member Avatar for mitchell.schols

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!

Member Avatar for mitchell.schols
0
147
Member Avatar for Phaelax

Doing a custom file upload button like so: CSS: input[type="file"]::-webkit-file-upload-button{ visibility:hidden;width:0;height:0;} input[type="file"]{font-size:30px !important;background:none !important;} input[type="file"]::before{ content: 'Select an image'; display: inline-block; background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3); border: 1px solid #999; border-radius: 3px; outline: none; white-space: nowrap; -webkit-user-select: none; cursor: pointer; text-shadow: 1px 1px #fff; font-size: 40px; margin:auto auto; text-align:center; line-height:80px; width:624px; …

Member Avatar for pixelsoul
0
231
Member Avatar for OsaMasw

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.

Member Avatar for Zvz
0
218
Member Avatar for anastasia_1

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 …

0
89
Member Avatar for Khoo

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 …

0
177
Member Avatar for gentlemedia

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 …

Member Avatar for gentlemedia
0
262
Member Avatar for DaniWebUser_1

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&deg;"> However, I'm not able to use setAttribute() to add it dynamically. …

Member Avatar for diafol
0
316
Member Avatar for Priti_P

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

Member Avatar for DaniWebUser_1
0
803

The End.