15,688 Topics
![]() | |
Hi guys, please help me. $GetList = mysql_query("SELECT ItemID, Available FROM rewarditems",$link1); while($row = mysql_fetch_array($GetList)) { $ItemID = $row['ItemID']; $Available = $row['Available']; echo("<form name='myform' method='post'>"); if ($Available == 'No') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' name='$ItemID' value='process.php?action=Item Availability&item=&$ItemID&available=Yes' checked></p></td>"); } if ($Available == 'Yes') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' … | |
I am using the Lightbox2 script on my website. here is an example of it working correctly on my search engine: [url]http://www.tcdb.org/go.php?query=maltose&button=Submit[/url] (Click any link that says "View Tree") Now, when we attempt the same thing on a page with many more results: [url]http://www.tcdb.org/go.php?query=sugar&button=Submit[/url] the lightbox containing my tree shows … ![]() | |
hello guys i want to perform following task through javascript that i should make a text field and a button name as reboot and in the text field,there should i mention the ipaddress of my dsl and click reboot which reboot my dsl router...is there any function through we can … | |
ok hi guys i'm a fairly new guy to these forums, and i'm hopping some one can help me. the thing is i want to create a website which i've sort of done i'm not that fabulous in HTML coding. the scenerio is that i'v created a website where people … | |
Hi guys, i want to create a registration page which has the fields like name,username,gender,dateofbirth,maritalstatus,etc... i have already created the form using html. now i need to encrypt the php code to insert these datas into the database which i have already created. Additionly i need to validate these fields … | |
Hi, I am developing a Java SE console application that needs to connect to a web page, get its contents (using HTTP GET) and get the value of a timer that was written in Javascript. If we take [URL="http://www.elated.com/res/File/articles/development/javascript/creating-a-javascript-clock/clock.html"]this[/URL] example page for instance. When I retrieve its contents using HTTP … | |
Hi! I have two frames (frameset, let's call it frame1 and frame2). Frame1 has links..., and frame2. When some link in frame1 is clicked, it must be changed content of the frame2. Here's example: [URL="http://www.dlib.indiana.edu/variations/scores/adg7955/index.html"]click[/URL]. How to do that? (I don't see any javascript code) Thanks a lot! | |
Im trying to merge the functions of two buttons In this script [CODE]<script language="JavaScript"> function setVisibility(id, visibility) { document.getElementById(id).style.display = visibility; } </script> <input type=button name=type value='Lock Up Geckos' onclick="setVisibility('geckos', 'none');";> <input type=button name=type value='Release Geckos' onclick="setVisibility('geckos', 'inline');";> <div id="geckos" style="position: relative;display: none;"> <div style="position: absolute; top: 0px; left: 0px; … | |
i am trying to use a jquery selector. There are 10 divs in my page. each div has a submit button which has attribute called post and its value varies from 1 to 10. so when first submit button is clicked i want to alert the h1 in the first … | |
Is there any possible way to return the expiration time of a pefeied cookie by [B]JavaScript[/B]? What I read so far: 1) Create another cookie to hold the expire time. -I don't want to use that because i do not intend to do it, simple enough. 2) I don't really … | |
hi, i'm having the following problem, normaly i work with html css and php but for this to work i need to make a litle javascript function and i'm still kinda new to it. so here is my problem. i'm making a search field where someone has to select some … | |
Here's a little brain teaser for you all. A client wants a [B]secure[/B] members only area of thier website with username/password access control, however the sites web host does not support any form of server side scripting or htaccess and to complicate matters further the client will not or cannot … | |
Hi I am using [CODE]window.status = "Message"[/CODE] for IE but I want to do the same in other browsers. For time being I want to do it in firefox but I have to manually enable it in browser options. Is it possible to do so programmatically? Thanks in advance. | |
Will someone please help me out in javascript, jquery, and css? I really want to use this menu at this web page: [url]http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/[/url] However, I would like to have this menu as a multi level menu. Currently it is two level. How to make this menu as three or four … | |
Hi I am developer in .NET but I need to access session object in client side and redirect the page to login. i am using the following code snippet but I am unable to achieve the target. [CODE]function CheckSession() { var session = '<%=Session["username"] != null%>'; //session = '<%=Session["username"]%>'; alert(session); … | |
I have a dropdown box which should display an appropriate text box only when a particualar option is selected. Currently, the textboxes are displayed all the time. I do have a Javascript function that works for 2 options(hides always and displays only when the correct option is selected). But I … | |
I am populating combobox on checkbox checked or not click event. Here is code. I am not solving the bug, JS runs on chrome but not in both IE and Firefox. checkbox <input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST['inactive_batch'])) echo "checked";?>> AJAX Code function selectinactivebatch(checkboxvalue) { var check; if(checkboxvalue=='on') check=1; … | |
how to pass javascript value to php without get or post...mean in the same page..without submit | |
Dear team, I am going to implement chat application in my site. I want to use long-polling or ajax -push concept in my program .I prefer to use php and javascript and ajax. kindly suggest me ajax-push concept or long-polling concept. Thank you, Regards, Prem | |
![]() | Hi everyone. I am having some trouble with my PHP and jQuery. [CODE] <script> function solveError(id) { $('#loading').html('<img src="resources/images/loading.gif" width="16" height="16" />').load('solve_error.php?id=' + id + ''); } </script> [/CODE] And here is the PHP [CODE]<a href="#" title="Solved" onclick="solveError('<?php echo $error['error_id']; ?>');"><img src="resources/images/icons/tick_circle.png" alt="Solved" /></a>[/CODE] When I get rid of the … ![]() |
Hi there, I'm busy coding an interface JSP for Liferay Portal using the Alloy UI taglib. Does anyone have a link to nice tutorials on using it? I've tried googling this but there seems to be virtually NO tutorials on this... Thanks guys! | |
Hi Forum, I'm currently working on a project where I create a form in Javascript/HTMl(easy). By form, i mean an actual form where it shall contain combo boxes, drop-down lists, buttons etc. Something like a questionnaire. That's all good and simple enough. However, how can I use this questionnaire/form to … | |
Hi! I am looking to make an adjustment to this script. I'm trying to find a way to do it as neatly as possible, and without breaking any pre-existing functionality. The code is here, with its corresponding tutorial: [URL="http://tympanus.net/codrops/2011/03/28/moving-boxes-content/"]http://tympanus.net/codrops/2011/03/28/moving-boxes-content/[/URL] What I'm trying to do is have the first section open … | |
ok so im working with execCommand and trying to make a function to insert a youtube video into a content editable div with execcommand inserthtml. Now this works with every other browser except, OMG IE. now i am trying to use pasteHTML(), found that some people have gotten it to … ![]() | |
Hi everyone, I am having problems using $.post because of the way my website is structured. Basically, my index file handles all the pages and simply includes subpages. I have this code for my index below: [CODE] if($pagegetter) { if( !strpos($pagegetter,".")&& !strpos($pagegetter,"/")&& !strpos($pagegetter,"%")&& !strpos($pagegetter,":") ) { if(!$sectiongetter) $sectiongetter = "pages"; … | |
hi all, i got two list box that moving item within each other and they are operate by my "->" "<-" button here the function code in java i wrote but it in firefox work perfectly but it dosen't work in google chrome....anyone know where is the problem of my … | |
hi i have a jsp page in which there is three radio button one is for dropdown list,another is for text field and last is for File field.What i want is when someone select dropdown list other two fields should be blanked and disabled.and when i select file field then … | |
[B]hello every body i have been looking for a book (e-book) about java script can you tell me where i can find a great book about it that explains in detals? please i need it urgently and if it is free it will be much better thanks[/B] | |
I really don't know if you will be interested on my suggestion, 'coz this may seem like, I want you to help me, but i guess this is pretty interesting... I don't have an idea if you do javascripts, but i guess, you have a good idea on editing them... … |
The End.