jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for toplisek

I have tested many times Which browser and read instructions. It seems there are missing points at main app page: https://github.com/WhichBrowser/WhichBrowser Author: Niels Leenheer I have checked again and a little bit confused as this is the first time. 1. It will be under public_html 2. Cron job will update …

0
127
Member Avatar for Draw

**Hey Daniweb!** A bunch of us have been putting together a web-based drawing app. In a nutshell, users connect in real-time to draw or chat on a sort of interactive whiteboard. Plenty of these are made in Flash, but we are determined to build it in JavaScript and HTML5; a …

Member Avatar for Draw
0
278
Member Avatar for witakr

Hello good people. I am trying to add a snippet of javascript to the head tag of a mobile site that checks if the visitor is using a PC and if the visitor is viewing the mobile site on a PC I want them to be redirected to the normal …

Member Avatar for almostbob
0
614
Member Avatar for spud91

Hi Guys! So i have a login form thats "supposed" to display an error if a person doesnt enter any information or they enter the wrong information I have the following code: <?php session_start(); // Starting Session include_once('config.php'); $error=''; // Variable To Store Error Message if (isset($_POST['submit'])) { if (empty($_POST['user']) …

Member Avatar for almostbob
0
256
Member Avatar for showman13

Good Afternoon All, Been a bit since I had a question... Guess my education from Daniweb is paying off...;-)) I have a form where a member is posting a banner URL and alt text to display a banner on our site. I would like to validate the URL they enter …

Member Avatar for showman13
0
2K
Member Avatar for boney

Hi, how do i pass the variables color, city and food to the mypage.php? I am able to get 'name' and 'age'. I want tto be able to pass all the variables mentioned in the script. <script type = "text/javascript" src="mypage.php?name=test&age=23"> var color = "red"; var city = "london"; var …

Member Avatar for Member #120589
0
178
Member Avatar for titas.datta

Hi, I am trying to add some values retrieved from database, into a HTML table which I've already created using jQuery & AJAX. My data is getting retrieved properly, but its not getting displayed when I am loading the HTML page. Could anybody help ASAP?? Here's the code I'm using …

Member Avatar for titas.datta
0
14K
Member Avatar for Tinnin

Hi All, I'm trying to unlink a file. I start with a form and submit it using javascript's submit() (out of necessity). Eventually the php code arrives at a function and unlinks the file (or rather doesn't). Now, the files unlinks when I use die() to exit out of script …

Member Avatar for Tinnin
0
1K
Member Avatar for PixelandtheWolf

Perhaps this isn't a mystery, because I don't have access to older browser windows, like Internet Explorer 9 or below. But this does bring a rather interesting question to the table. While attempting to use programs like Browserstack and Sauce Labs, my Internet Explorer 8, 7 and 6 tests fail …

Member Avatar for gentlemedia
0
175
Member Avatar for utsavjoshi95

problem with this code is, it is printing only first element,how can i print all elements which are added using addrow() <script language="javascript"> function addRow(tableID) {var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var cell1=row.insertCell(0); var element1=document.createElement("input"); element1.type="checkbox";element1.name="chkbox[]"; cell1.appendChild(element1); var cell2=row.insertCell(1); cell2.innerHTML=rowCount+1; var cell3=row.insertCell(2); var element2=document.createElement("input"); element2.type="text"; element2.name="txtbox[]"; cell3.appendChild(element2); } function deleteRow(tableID){ …

Member Avatar for rpv_sen
0
175
Member Avatar for Sudhakar_1

The Timer displayed is 1 hr (HH:MM:SS) in decrement order. I have to display a pop out when 50 minutes complete after that remaining 10 minutes one pop up should display saying 10 minutes with 0 sec. After that for every 2 minutes the pop up appear showing 2 minutes …

0
84
Member Avatar for alemojarro

I am trying to make a code that makes a random point cloud that changes every five seconds for a minute. I have it so that it makes the inital cloud, but I am stuck on how to make it change every five seconds. private class newCloud implements ActionListener { …

Member Avatar for JamesCherrill
0
108
Member Avatar for Sudhakar_1

<head> <!-- //In header section of the page add below url code: --> <!-- Sesion time out and session expiry url starts here --> <s:url id="sessionExpirePopUp" action="sessionOutCiscoGSS" namespace=""> </s:url> <s:set name='sessionExpirePopUpNew' value='#sessionExpirePopUp.replace("&amp;","&")' /> <!-- Sesion time out and session expiry url starts here --> <script type="text/javascript" language="javascript" src="<%=request.getContextPath() %>/jsp/js/jquery.js"></script> <script …

Member Avatar for stultuske
0
222
Member Avatar for toplisek

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

Member Avatar for toplisek
0
695
Member Avatar for pranab2302

hi, can you please help me in writeing a code in javascript which will eneble javascript in browser. The code need to be in java script. i am using a performante testing tool "gomez" which supports java scripts only. its really urgent. Thanx in Advance. :icon_smile:

Member Avatar for ps1990
0
739
Member Avatar for utsavjoshi95
Member Avatar for JorgeM
0
64
Member Avatar for utsavjoshi95
Member Avatar for toplisek

I have an isssue that INIT function works like enclosed example. Issue is that map should be placed or it returns an error. How to avoid this? 1. INIT function is not set due to ID: id="Googlemap_number1" How to do it? 2. INIT function should be executed only if there …

0
147
Member Avatar for toplisek

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

Member Avatar for toplisek
0
315
Member Avatar for AntonyRayan

Hi, In a bootstrap page I have button called language known, by clicking that a popup checkbox modal will open in that I have two button called close and savelanguages, by clicking savelanguages button what are the languages that are selected nnear to the languages button in a textbox.. I`m …

0
164
Member Avatar for AntonyRayan

For image upload , This is my code, What is the error, its not checking in else part if(!$('#upload').val()) { alert('Upload Your Photo'); $('#upload').focus(); return false; } else{ $('input[type=file]').change(function () { var val = $(this).val().toLowerCase(); var regex = new RegExp("(.*?)\.(jpg|jpeg|txt|png|docx|gif|doc|pdf|xml|bmp|ppt|xls)$"); if(!(regex.test(val))) { $(this).val(''); alert('Unsupported file'); } }); }

Member Avatar for AntonyRayan
0
192
Member Avatar for Siberian

A page I'm working on has a few minor hiccups with IE7. I've been informed to ignore IE7, can anyone give there added opinion ? I'd like to share the link to which I need help with !

Member Avatar for Siberian
0
158
Member Avatar for Sijeveux

Hi there, I've been struggling for several days now with datatables, and I don't know how to get my individual columns being searched thanks to their each own input. When I type something in my inputs nothing happends, no filtering is done. Many thanks if yo can take that thorn …

0
118
Member Avatar for malatamil

In this each member has 3 type of project selection. if one member has selected "regular Project" then remaining types should be displayed in dropdown for each member. But here i tried with this code.. example i have 6 members, then 6 members can have 3 type of selections.. if …

0
121
Member Avatar for prafulla23

I have problems with jasper report. First I inform to I used eclipse luna and jaspersoft studio 6.0. 1] How to show and hide report fields from jsp using servlet? 2] how to fetch static fields text from jsp and display in textbox? how to way i solve this problem?

Member Avatar for stultuske
0
252
Member Avatar for lokmani

Hello, my web api is not working on chrome, but working on IE a open appears at bottom contains .json files . i have all the data on it. can you check my code whats the error? public class DataController : ApiController { [Route("dataapi/category")] [HttpGet] public IEnumerable<vendor_category> Category() { return …

Member Avatar for djjeavons
0
692
Member Avatar for GlenRogers

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 …

Member Avatar for bnmng
0
176
Member Avatar for ggeoff

Hi I have been trying to get a google map on one of my websites. In the past I had no trouble. But now having forgotten what I did I googled the topic and found an explanation that required adding javascript to the head section and a div with map-canvas …

Member Avatar for ggeoff
0
2K
Member Avatar for Fuseteam

hello, i would like to ask if it is possible to write a browser that it capable of develering a full but smooth javascript experience on a phone with for example a single core processor, 200mb ram and 30mb of free internal memory on sites such as tv.jw.org or touchdevelop.com …

Member Avatar for Fuseteam
0
125
Member Avatar for AntonyRayan

Hi, In one window by clicking a button(button name select) a pop up window, in that pop up window , I have only lot of check boxes. My query is, I want to show what are the values I selected in the pop up window that should display in the …

Member Avatar for AntonyRayan
0
92
Member Avatar for shammi.khan.73

Are there any good resources to get started with Node.JS? Any good tutorials, blogs or books? Of course, I have visited its official website http://nodejs.org/, but I didn't think the documentation they have is a good starting point.

Member Avatar for Squiva
0
336
Member Avatar for samson.oba.77

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 …

Member Avatar for AleMonteiro
0
118
Member Avatar for methuselah90

I would like to update a variable and array item after a record array search, and wanted to know what would be the best way of carrying it out in Javascript. In this case, if a match is found between the variable and area item, then the postcode item should …

Member Avatar for jstfsklh211
0
284
Member Avatar for baloch123

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 …

Member Avatar for baloch123
0
292
Member Avatar for JosephHanh

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 …

Member Avatar for minitauros
0
194
Member Avatar for johnny70

I want to remove the first line in jtextpane and setting setContentType("text/html") at the same time. setContentType("text/html"); Element root = getDocument().getDefaultRootElement(); Element firstLine = root.getElement(0); getDocument().remove(firstLine.getStartOffset(), firstLine.getEndOffset()); When I use setContentType("text/html") in the code it does not remove the first line.

Member Avatar for JamesCherrill
0
792
Member Avatar for Tuan_2

Javacript novice here, I've been trying to learn how to remove this annoying error I always get on Nike.com I tried to remove it through adblock which I can't The only way to remove this error is click the 'OK' button. heres the script for the "OK" button <button class="notification-button …

Member Avatar for minitauros
0
210
Member Avatar for sasikrishnasamy

Hi all, I want to validate a text box like this format 2.0.0_P1416.E1.0_;0 value should be numeric until first two dot after second dot it may contains num, char and special char. I tried with below mentioned special expression but I can’t get my result. Can someone point out what …

Member Avatar for minitauros
0
138
Member Avatar for King_Of_lords

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

0
114
Member Avatar for maas

I'd like to disable/enable SelectManyCheckbox and the SelectOneMenu based on my selection. I have two radio buttons to be selected whether A or B. The SelectManyCheckbox and the SelectOneMenu should be disabled at the first run. When the user selects “A” the SelectManyCheckbox and the SelectOneMenu should be enabled and …

Member Avatar for Member #120589
0
787
Member Avatar for danarashad

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 …

Member Avatar for danarashad
0
355
Member Avatar for GlenRogers

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

Member Avatar for GlenRogers
0
280
Member Avatar for shan980

Hi, i want to detect browser close event and show alert message. Situation when i want to show message is only exit/close browser tab not on refresh or click link. Thanks

Member Avatar for minitauros
0
130
Member Avatar for sarathnair
Member Avatar for Member #120589
0
165
Member Avatar for samson.oba.77

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 …

0
167
Member Avatar for patodeborracha

Friends! I Have this JavaScript and the Validade Form not Work After I Select a Ajax Populate SelectBox. If not Select and Populate with Ajax, Validade Form Work. When Try Select (District) and Ajax Populate SelectBox SubDistrict, Validade Form Not Work... $.ajaxSetup({ cache: false }); $("#PriceForSale").hide(); $("#PriceForSeason").hide(); $("#PriceForRent").hide(); $(document).ready(function() { …

Member Avatar for AleMonteiro
0
199
Member Avatar for zella

hi can someone help me make my headers fixed and my table body be able to scroll vertically. i have seen the javascript and css "display:block and overflow-y: auto; overflow-x: hidden;" it just doesnt work with me . <style> .table{ width:100%; border-collapse:collapse; border:0px ; cellspacing:5px; cellpadding:5px; margin-left:auto; margin-right:auto; max-width:70%; border-color:#9DC45F; …

Member Avatar for Member #120589
0
112
Member Avatar for fastina hasini

How do i change images every 5 seconds on my web page? I have tried something but the first image is getting displayed but the rest of the images r not and i have used update panel and timer

Member Avatar for fastina hasini
0
187
Member Avatar for reis02
Member Avatar for terrymold

Hi everyone I have a bit of JavaScript code that I need a bit of help with. It concerns Local and Global scoped variables. In the code sample below, and in the function showLocation, are the two problem variables. If I un-comment the two document.writes, then obviously I can see …

Member Avatar for terrymold
0
297

The End.