14,054 Topics

Member Avatar for
Member Avatar for milkman93

Hey guys, I'm trying to take xml code and present it to the client via html. Creating the xml file was the easy part, the part I'm having an issue with the javascript code. Here is the xml code: <staff> <member> <name>Joe Gerilo</name> <schedule>Mon-Fri</schedule> <office> <city>Chiago</city> <building>31st AMC</building> <boss>John H</boss> …

Member Avatar for pritaeas
0
175
Member Avatar for kevinn

Hello, I am currently creating a javascript refactoring framework in clojurescript. Because Javascript is a dynamic language and has no static type info I've used an points-to analysis to infer type info from the source code. Now I'm looking for good refactorings that people using Javascript need. For example I …

Member Avatar for pritaeas
0
107
Member Avatar for inheaven

In my application, users often need to go to `+1` or `-1` day from the current selected date. For this, I want to make this process more quick by adding two image buttons for +1 and -1 operation on the right side and the left side respectively. I have tried …

Member Avatar for inheaven
0
5K
Member Avatar for subrata_ushasi

Hi all , I developed an website and the same trying to for mobile where clicking on menu will open menu items (to see menu items click using mounse and scroll) and clicking on menu items like "about us" , "services","solutions" etc will open the contents. I think it can …

Member Avatar for LastMitch
0
165
Member Avatar for subrata_ushasi

Hi, I developed an website having interactive world map . When I rollover / mouse over a country ,it displays country's information. It is ok but when it is viewed on tablet or mini laptop with screen resolution 1028 x 600 then country rollover information partially going out of screen …

Member Avatar for LastMitch
0
107
Member Avatar for craigallansmith

GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website …

Member Avatar for LastMitch
0
768
Member Avatar for turpentyne

I have a page that is centered both vertically and horizontally. I've got a snippet of javascript that reorients the page if the user repositions their ipad. If they start in horizontal, and go vertical, everything loads fine. My problem is that, if they start in vertical and go horizontal, …

Member Avatar for LastMitch
0
224
Member Avatar for shrutib

Hello all, My problem is there will be list of images where i need to swap the images to sort it like the way how i want to see.Say for example, image 1- position-1, image 2 position 2 etc. When i drag image 1 position 1 to image 5 position …

Member Avatar for stbuchok
0
429
Member Avatar for programmer12

**Problem:** I am currently using Jquery Autocomplete UI and it works perfectly but I would like to add more to the codes, but I have no clue where to place the codes. **What I would like to add:** I would like to add the Keyword Hightlights, HREF LINK (window.location.href), and …

Member Avatar for LastMitch
0
212
Member Avatar for aus_fas1

I want to replace form field names with the label text in the following code. I am just missing a line perhaps var template = $('#idRequestDetails').clone(); template.find('input,select,textarea,table').each(function(){ var newId = this.id.substring(0, this.id.length-1) + uniqueId; $(this).prev().attr('for', newId); // update label for this.name = this.id = newId; // update id and name …

Member Avatar for LastMitch
0
80
Member Avatar for littledevils326

I am creating a web page where the user and select an item by clicking on the button. The details of the item selected will be displayed in a dropbox. At the moment I can get it to update the quantity if the user selects it again. The problem which …

Member Avatar for LastMitch
0
191
Member Avatar for riahc3

Hello I have a jQuery Thickbox window and I want to make it stick as far as possible to the top of the browser window, so the top is visible. If the bottom is not visible, this (for now) is not a problem. How can I do it?

Member Avatar for JorgeM
0
168
Member Avatar for Buppy

Hi, I'm currently using this expression to validate at least 2 words, containing letters, "-" and "'". `/^((\b[a-zA-Z-']{2,40}\b)\s*){2,}$/` It works fine until someone enters unicode special characters, like from different languages. I've checked the \p{L} option, but that does not work or I am missing just something. Any help would …

Member Avatar for Buppy
0
139
Member Avatar for riahc3

Hello Im trying to make a cookie that I can use across one domain on different pages. Lets say my domain is example.dev var expiremilliseconds = 86400000; var currdate = new Date(); var expirationdate = new Date(currdate.getTime() + expiremilliseconds); document.cookie = "somecookie=true;domain=.example.dev;path=/;expires=" + expirationdate.toGMTString(); Thing is, I browse around my …

Member Avatar for riahc3
0
132
Member Avatar for dinhunzvi

i have the following php files. <?php require_once '../moonlight/includes/mysql_connect.php'; require_once '../moonlight/includes/functions.php'; require_once 'includes/reader.php'; /** * @author FreeUser * @copyright 2013 */ if ( isset( $_POST['submitted'] ) ) { $errors = array(); if ( $_POST['authorityID'] == "" ) { $errors[] = 'Select the paying authority.'; } else { $authorityID = (int)$_POST['authorityID']; …

Member Avatar for dinhunzvi
0
192
Member Avatar for alfiechiong

Is there anyone here has an solution for using js dom or jquery on web workers i have a jquery function that was needed to call inside the web worker but the problem is that the web worker doesnt recognize the jquery dom . thank you in advanced :)

Member Avatar for alfiechiong
0
117
Member Avatar for m.tompkinsnz

Hi Guys, I'm currently embarking on a project relating to inventory management within my business, and have done a concept in Visual Basic. I'm now going through the motions of deciding which angle to take in regards to mobile access of the application. I have thought about whether to write …

Member Avatar for LastMitch
0
172
Member Avatar for momonq1990

$("#contact-form").validate({ rules: { contact_name: { required : true, email: {required: true, email: true } }, contact_company: "required", }, messages:{ "contact_name":"", "contact_company":""} }); How to add a messagebox to jsvalidation that says "you sent message"

Member Avatar for LastMitch
0
191
Member Avatar for vijayram

Hai all, I want to achieve the Resize,Drag and rotate functionality on an image seleted by the user.I am able to do all these in separate function ,but couldn't incorporate in single function. Since the images are dynamically created,i need a single function. For example If i join rotate with …

Member Avatar for LastMitch
0
2K
Member Avatar for RascelleGrepo

Hi. I am working on my Online Examination project in my web development subject but I am having a hard time to code how to go back to my previous page where I put session on it. my online exam are categorize by subject then inside the subject there is …

Member Avatar for kindo
0
398
Member Avatar for rexmatthew

Please help. I can't get my calendar to automatically get the current date. I'm not sure where the problem is so I'll post the whole script. Here it is. (function($){ var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java", "JavaScript", "Lisp", …

Member Avatar for rexmatthew
0
287
Member Avatar for davidjennings

Hi All - I am trying to correctly valididate forms on serverside using PHP and on client side with JavaScript I seem to have got lost in the processes here. Thanks DJ <?php // define variables and initialize with empty values $fname = ""; $fnameErr =""; $lname = ""; $lnameErr …

Member Avatar for rotten69
0
304
Member Avatar for OsaMasw

I don't know whats wrong but my code not working properly here is my html code <input type="text" name="username" id="username"> <div id="check_usr"></div> AJAX call <script> $(document).ready(function() { //user name $('#username').on("keypress", function(e) { startTypingTimer($(e.target)); }); }); var typingTimeout; function startTypingTimer(input_field) { if (typingTimeout != undefined) clearTimeout(typingTimeout); typingTimeout = setTimeout( function() { …

Member Avatar for OsaMasw
0
361
Member Avatar for minimee120

Hi all, I've been trying to implement the onblur function for a database, but i'm having trouble getting it to work. It's suppoed to be used for my 2nd password field to check it. Would anyone be able to help me implement into the following code I have?: script type="text/javascript"> …

Member Avatar for LastMitch
0
170
Member Avatar for jcomputing

Hi, am wanting to add a pause and play button on my slideshow but don't know what code I need to get this working. Below is the code I have. It will automatically pause on hover but would like a seperate play and pause button aswell. <link rel="stylesheet" href="css/global.css"> <script …

Member Avatar for LastMitch
0
217
Member Avatar for dhirst1

Hey all im calling a php form via ajax and entering the response HTML into an empty iframe via ajax. In this form intitially i had set up 2 datepickers, however upon calling the AJAX and therefore displaying the form in the frame, my datepickers and showing up :/

Member Avatar for LastMitch
0
174
Member Avatar for thak123

`enter code here`I am working on a jquery mobile html5 application.I have various pages with page id-"page1"... Onclick of button i want a parameter to be passed with the function on which the navigation will be taking place. for ex <input type="button" data-transition="fade" value="Next" onclick="checkIfValid('2');" data-icon="arrow-r" data-iconpos="right"> so it redirects …

Member Avatar for LastMitch
0
194
Member Avatar for iamspix

I have these sorting algorithms in my application, and I want to keep track the affected values, or the values that swapped during the sorting process. I want to highlight them. I have solved this issue for bubble sort and selection sort, but somehow I can't get it work with …

Member Avatar for Airshow
0
291
Member Avatar for adishardis

Hi, So far in me slowly learning webdevelopement (mostly thanks to all of you guys) I've used php to query the mysql database to calculate mean/mode/range/median values and to create arrays to visualize with highgraph. Now I've come to a point where I really need if possible, to skip the …

Member Avatar for adishardis
0
321
Member Avatar for Samyx

Hello Everyone, I am having a problem trying to display two graphs and a data grid. I am able to display both graphs and the grid in individual files, but when combining both the graphs display and the grid becomes hidden. I checked some posts online, and it seems to …

Member Avatar for LastMitch
0
235

The End.