15,127 Topics
| |
Hello I have two textfield and dropdown, i want add date to the first textfield and when change dropdown menu add year or month dynamically to the second text-field and I used this code but it give NaN/NaN/NaN [CODE] function calDate() { var dateArr = document.getElementById('date_field1').value; var date1 = new … | |
what i'm trying to do is get the contents of the textarea, which the id is 'reply'. then onclick of a button, a popup div with id 'layer1' displays the contents of the textarea. i tried below but it comes up blank. i haven't included the pop up/button code, thats … | |
Hello how can i change textfield date format to be(y-m-d)like(2011-5-31) | |
Hi I should need the code/syntax to create an countdown timer that should count down from now to (24hour)19:00 12-06-2011 do any one know how to do this? | |
I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other … | |
I am using : appache 2.2.11 php :5.3.0 MySql 5.1.36 The problem is that I am there are some script not working nether on IE8 nor on firefox 4 in offline But these scripts are working fine on IE 8 using online !! And these scripts work offline on other … | |
Hi Daniweb peeps! Does anyone knows where can I download a quicklook button like from this site? [url]http://www.gap.com/browse/category.do?cid=8655[/url] | |
Can i ask a question about Flash action scripting here? | |
for ($rows = 0; $rows < $totrow; $rows++) { echo "<tr>"; { echo "<td width=7% align=center bgcolor=#D4BFFF >" .$sr; echo "</td>"; ?> <td width=40%> <select name="book<?php echo $sr;?>" style="width:80%"> <option value="-1">-----Select Book-----</option> <?php $qr_title=mysql_query("select * from book where Dels='N' order by Bk_nm asc"); while($row_title=mysql_fetch_array($qr_title)) { ?><option value="<?php echo $row_title['Bk_id'];?>"<?php if($row_title['Bk_id']==$ad) … | |
Hi ~ I am trying to keep two children windows open at the same time as the parent. Umfortunately while opening the link to the second child window the first one minimizes. Is there a way around this? I have tried focus() on the second and not the first - … | |
So, I am looking into web creation and have started making a site just to see how the coding of websites work and how the files link to each other. So, what I am trying to do is when the page loads it prompts "What is your name?" with a … | |
Hello im creating a small social network from scratch and struggling with the newsfeed i have the newsfeed loaded through ajax then page loaded remotly i have a timeago jquery script and the timeago script is not working, but when i get rid of the ajax auto refresh and use … | |
Hi guys, I'm still pretty new to javascripting so be gentle I hope you guys can help me out a little on this one. I'm creating a page where I load some of my contents through ajax calls. In the returning content I'm trying to access some jquery features (lightbox … | |
Hey guys!! been a while since I posted here, but thought I'd post this question here cause it is driving me insane!! Basically, if the condition returns true, then that part works. but if it's false, neither part works. If I put the content from the else after the <script> … | |
Working with javascript / jquery - Need to have a more precise regex for the following pattern: Should I have the ignore case included? If so where? X25b777s44K The regex I have: ^([A-Z]?)(\d{2})([a-z]?)(\d{3})([a-z]?)(\d{2})([A-Z]?)$ Thank you for your help. | |
Hello, First of all, don't kill if I posted this in the wrong section. I'm trying to find a decent tutorial for the HTML 5 drag and drop upload. I have allready searched hours before but could'nt find a decent tutorial. Basicly what I want is a drag and drop … | |
Hey, I am having trouble sending a javascript variable to php at the moment. I have div's which have id's on them then when I click on them I have it as onclick="getId(id)" Then this is the code which is not working of course in sending the id to the … | |
I am very new to using script . i was hoping someone could help me . I want to write a client side web page that will start excel on client computer and upon a button click javascript will open the excel file from c drive and display output . … | |
HI there, I wonder if anybody can give me a hand with this. I am writing a script which will allow me to swap some images (using also jquery to give the fading effect) but things are not quite working the way they should. I am really new to javascript … | |
Hi there! I am wanting to use javascript to set a cookie which will expire on session/cookie expire and what would this cookie do? I want it to determine whether or not to show a div using a variable to set display block or none. The div contains text "Click … | |
Hello guys! I have a form and when the user sumbit it a javascript function will be called using onsubmit event. I need to call the function because I need some AJAX code to be executed. And after it's finished, the page needs to be redirected to another page. But … | |
I've been using jQuery for a few years now, and the more I use it, the more I like and appreciate it. It seems like I'm always finding new ways to use it, and usually those new techniques result in me writing less code and ultimately being more productive. On … | |
Hi I really like the drop down that I found on [url]http://www.scriptiny.com/2008/04/sli...dropdown-menu/[/url] I have 4 Menus and when I add this this flows over the logo. The size of each menu is in fact too big. When I tried to alter this the size of sub-menus stay the same and … | |
Dear Friendzz, Problem to getting dynamic values in Javascript.. Please Helpme [CODE]// Java Script <script language="javascript"> function toggle(int) { var ele = document.getElementById(int); if(ele.style.display == "block") { ele.style.display = "block"; } else { ele.style.display = "block"; text.innerHTML = "hide"; } } </script> // HTML <div class="reply"> <a id="{$msg['id']}" href="javascript:toggle(this);">Reply</a> </div>[/CODE] … | |
at this part: [CODE]if (xmlhttp.readyState==4 && xmlhttp.status==200){...[/CODE] My program's "xmlhttp.readyState" is 4 but its xmlhttp.status is always 0, why? is it even necessary to add "xmlhttp.status==200" condition? because I've seen programs without it :/ thanks | |
hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is … | |
Hi everyone, I have a question, first of all. I run a PHP, but instead of using [CODE]header("Location: index.php");[/CODE] I'm using this one, [CODE]echo("<script type='text/javascript'> window.location = 'index.php' </script>"); [/CODE] And this is worked. I have a new project now, and it have ajax, load PHP files inside <div> tag. … | |
I want the images to change (rotate) in sequence when the page is refreshed not random like i have below. Can someone help me with this please? Also I also need text to change on refresh to because I am going to have a descritption of the image below. So … | |
Hello, I have a JS/jQuery based date picker - calendar. The algorithm itself is simple - a Calendar class that generates calendar, several methods for year/month change, etc, nothing that special. Since i have several independent date fields in the page, i am creating several independent calendars, for example, var … | |
Hi I really like the drop down that I found on [URL="http://www.scriptiny.com/2008/04/sliding-javascript-dropdown-menu/"]http://www.scriptiny.com/2008/04/sliding-javascript-dropdown-menu/[/URL] I have 4 Menus and when I add this this flows over the logo. The size of each menu is in fact too big. When I tried to alter this the size of sub-menus stay the same and … |
The End.