15,698 Topics

Member Avatar for
Member Avatar for kiran33

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

Member Avatar for twiss
0
99
Member Avatar for scarlettmoon

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

Member Avatar for stbuchok
0
265
Member Avatar for WolfShield

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 …

Member Avatar for WolfShield
0
4K
Member Avatar for nats01282

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 …

Member Avatar for ko ko
0
191
Member Avatar for Aksel

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 …

Member Avatar for Airshow
0
192
Member Avatar for metalix

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

Member Avatar for Airshow
0
167
Member Avatar for scarlettmoon

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.

Member Avatar for scarlettmoon
0
162
Member Avatar for Thyvo

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 …

Member Avatar for Thyvo
0
142
Member Avatar for Number1awa

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 …

Member Avatar for diafol
0
120
Member Avatar for david081

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

Member Avatar for twiss
0
190
Member Avatar for Violet_82

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 …

Member Avatar for Airshow
0
170
Member Avatar for exotic_ang

Hi guys, Id like to use Sliderman in my site as an image slider. I downloaded the code, added it to my site and arranged what I could see needs to be arranged but I cannot get it to work properly! Image1 attached is how it is supposed to look. …

Member Avatar for twiss
0
121
Member Avatar for public-image

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 …

Member Avatar for twiss
0
110
Member Avatar for Soben

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 …

Member Avatar for Airshow
0
97
Member Avatar for jeffcogswell

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 …

Member Avatar for twiss
2
580
Member Avatar for tycoonz

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 …

Member Avatar for tycoonz
0
150
Member Avatar for rayidi

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

Member Avatar for ko ko
0
2K
Member Avatar for Soben

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

Member Avatar for twiss
0
73
Member Avatar for Braden0007

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 …

Member Avatar for twiss
0
212
Member Avatar for weblexie

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

Member Avatar for twiss
0
78
Member Avatar for twistidphreak

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 …

Member Avatar for twiss
0
211
Member Avatar for Buppy

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 …

Member Avatar for stbuchok
0
105
Member Avatar for tycoonz

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 …

Member Avatar for ko ko
0
162
Member Avatar for ttchiwandire

Hie good friends! I have got a Jsp form for creating a database record for students. The form has got a drop down box for Countries, but the countries are too many that a user may spend a lot of time scrolling to locate his/her country. The drop down is …

0
51
Member Avatar for weblexie

Hi, please help me with my code. Javascript function if (document.myform.Available.checked == false) { document.myform.Save.disabled = true; <?php $query = mysql_query("UPDATE rewarditems SET Available = 'Yes' WHERE RewardItemID = '{$_GET['item']}'",$link1) or die(mysql_error()); ?> } else if (document.myform.Available.checked == true) { document.myform.Save.disabled = false; <?php $query = mysql_query("UPDATE rewarditems SET Available …

Member Avatar for ko ko
0
108
Member Avatar for zenghoong

I've made a "more" button and whenever i click it, another upload input will be displayed. Problem is, once I add the <div>, then it stops working. Is there any way around this? [CODE] <html> <head> <script type="text/javascript"> var instance = 1; function newUpload() { instance++; var newInput = document.createElement("INPUT"); …

Member Avatar for urtrivedi
0
121
Member Avatar for <:nohj:>

uhmm.. i have three textboxes and i combine the three values to generate a barcode value.. below is the function [CODE]function getBarCode(ItemCode,VendCode,Cat){ var Item = ItemCode; var Mcode = VendCode; var Category = Cat; var barcodeval = Item+Mcode+Category; if (Item == ''){ alert('Input A Itemcode Code'); return false; }else if(Mcode …

Member Avatar for urtrivedi
0
81
Member Avatar for sanaldev

i have used <param name="wmode" valur="transparent" /> and in <embed> tag inserted wmode="transparent" for overlaying the menu over flash player in my web site... it worked in firefox but not in chrome and IE.... how to resolve this problem??? waiting for a help............

Member Avatar for Ritesh_4
0
58
Member Avatar for Inny

Hi there, firstly I want to disable this part of an epic script. I dont want anything to happen onclick. [CODE]function checkOnClick(e,n){ window.open('http://www.camosreptiles.com.au/','_self'); return ;[/CODE] I tried making the bit at the end return false; but it had no effect. If I cannot do that, I need to fix a …

Member Avatar for Airshow
0
229
Member Avatar for md_salman

I am trying to create an HTML form in which user will enter different items (he wants to purchase) in text fields. One text field is used for one item. Now it is not known in advance how much items the user will purchase so we cannot decide the total …

Member Avatar for zenghoong
0
854

The End.