- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- XHTML, CSS, HTML5, CSS3, jQuery, Progressive Enhancement
Re:
Hi, I'm a total hack with jquery and need some help. I've an html select list and a text area. The select has about 25 options in it. When a specific option is selected, I'd like to populate the text area with some text. Example: HTML: <label for="comments">Technician Comments: </label><textarea … |
|
Re:
Hello, I am looking for Javascript codes where you can move the list of data in left side to the right side. For example: Attendance: John Albert Albert Victory Kim >> James Kayla Victory James Out of the 6 people only 3 students attend the class. All the registered students … |
|
Re:
Hello Friends, I have an admin page,where i want to assign priorities to 10 questions for a exam project.Now i am doing it with drop down lists where 10 options are given in drop down.How can i add a javascript so that if admin selects value '1' in dropdown for … |
|
Re:
Hi, I thought I'd share this with you. If you want all fields on a web form to be emptied of ther initial value (if any) on focus and filled again with the initial value on blur. Works with jquery. |
|
Re:
I am writing some jquery script that will run across a large amount of completely different web pages (different domains too) and it will surround certain words on the page with html tags to style them up - make them more noticeable etc. Here's some sample code I've written... $('body').ready(function() … |
|
Re:
Hi, My objective is to replace all pattern words that match a particular regex with that word surrounded in some html tags like so. Example html: <p>This is some text where the word text will get surrounded by something else.</p> After regex: <p>This is some <span class='mydiv'>text</span> where the word … |
|
Re:
I have a regex which matches a string of length between 10 - 15, lower case alphabetic characters like so... str.replace(/[a-z]{10,15}/g,"replacement word")); ^^ The next step is I'd like to ignore any whitespace whilst matching. I've tried str.replace(/[a-z]{10,15}\s*/g,"replacement word")); and str.replace(/[a-z]{10,15}\s?/g,"replacement word")); But it still doesn't ignore whitespace when matching. … |
|
Re:
Hello guys! I'm trying to change an element background color when my mouse goes over another element. As far as I know CSS, this seems to be impossible to do only with CSS, so what kind of js I need to do this? My knowledge in JavaScript it too limited … |
|
Re:
I'm working on a dynamic form where based on a visitors selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are shown. (I tried making them required even when they … |
|
Re:
Hi guys i got a problem, I have a page requesting rows from the other page via ajax the data that will be return includes a field for date, then use datepicker, my problem is the return data doest read datepicker from jquery cause it is retrieved via ajax heres … |
|
Re:
I want to working with login system jQuery ajax and json. I'm facing no problem with success function. I dn't know how to through custom errors like "incorrect login". Here is my code, Please help me. <script> $(document).ready(function(){ $("#login").click(function(){ if($("#defaultEmail").val() == ""){ $("#defaultEmail").addClass("field-err"); $("#defaultEmail").focus(); }else if($("#defaultPassword").val() == ""){ $("#defaultEmail").removeClass("field-err"); $("#defaultPassword").addClass("field-err"); … |
|
Re:
Hi, I have made a small program that enables a user to upload an image and gets it sent back to the users email with a watermark on it. The place where the user uploads the image is in an ajax colorbox and in order for it to send the … |
|
Re:
Hi, I have a hover effect whereby an image is being faded out and another is fading in. However, Is there a way for these actions to happen simultaneously? So as one is fading out the other fades in. My code so far is: $('.square').mouseenter(function () { $(this).attr('data-image', 'two'); $(this).find('.one').fadeOut('medium'); … |
|
|
Re:
Hi, This is the first script that I trying to read and learn how it function. I not very familiar with `JQuery`. I'm more in `PHP`. But I notice other members know other languages beside `PHP`. So I'm trying to do what other Developer are doing which is knowing another … |
Re:
Hey This is a stupid and very noob question but lets say I have something like: <script type="text/javascript"> /*javascript up here*/ var variable = new object("bla", "morebla"); variable.dosomething("evenmorebla", function(key, value) { alert("key is '" + key + "' and value is '" + value + "'"); }); alert ("alert 2 … |
|
Re:
Hello I want to chnage the background to the latest radio btn clicked like in the atached image I have made somecode but this is not doing the job I have strated like this `jQuery(':radio:last:checked').length`I thought that by this way I will get one result and I was right then … |
|
Re:
function name_loop(){ var names_array = []; $('.name_class').each(function(index){ names_array[index] = $.trim($(this).val()); }); return names_array; } the problem with the above code is that it returns only the first element and not the specified array. can someone solve it for me |
|
Re:
I have put together what I believe my homework assignment is asking me to do, but I can't get the form to add the vehicle information. Here is the code. Can someone help me get onto the correct path? Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> … |
|
Re:
I'd like to apply a global site-wide little javascript window on the very bottom right of the site that will display a window about 40 x 80 wide, just a book icon and the word "Bible", where when a person clicks it, it will open a pop-up window, centered and … |
|
Re:
Hey everyone, I'm not new to web design, but I have been working on this project for a while and my eyes are crossing! I think its a fairly simple issue... I have a footer with a background image, and within that footer I have 3 columns, evenly distributed and … |
|
Re:
Hi bro, m new designer and new member @ this site, m in a problem, m tryng to bring the menu infront of the image i have on my web page, can u help me to solve the problem plz the code is Here in this code i wd like … |
|
Re:
hi,....i wanted to develop a web application using java .... I know servlet,jsp,struts,hibernate...bit of spring and EJB could u suggest some good project idea ..... i was thinking of doing a toprated movie database....any other suggestion is welcomed or what could be the possible features .... |
|
Re:
Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to … |
|
Re:
I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, … |
|
Re:
Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any … |