20,316 Topics
Hey everyone. So for example sake I have this: [CODE] <title>index.php</title> <form name="form1"> <select name="useraccounts" id="" value="" onChange=""> <option id="" value="">cant login</option> <option id="" value="">forgot password/option> </select> </form> <form name="form2"> <select name="computers" id="" value="" onChange=""> <option id="" value="">physically broken</option> <option id="" value="">needs repair</option> </select> </form> ////////////////////////////////////////// <title>popup.php</title> <form name="form"> <select …
Hai Guys, I need an urgent HELP and i'm willing to pay for this simple problem :) Please take a look at the problem by clicking [URL="http://www.facebook.com/pages/EZ-Commerce-by-BlackMarket/185356521505034?v=app_4949752878&ref=sgm"]HERE[/URL] Once you in, click on the button with the sign 'Click To Start Shopping' [B][COLOR="Green"]The problem is, the Flash doesn't load[/COLOR][/B] I bought …
Hello I'm having problems validating cloned elements. Apologies for the amount of coding posted but I thought I may as well put it in from the start. [B]This is a sample of the original div:[/B] [CODE]<div id="addDriver1" class="clonedInput"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="<?= $editDriver; ?>"> <tr> <td height="25" align="left" …
I am thinking of setting up a link shortener for myself, and I want to know how to track unique and total clicks. Well, the total clicks are easy to do. I think the unique clicks are more challenging. Also, how do you do 301 and 307 redirection? Is this …
I have a textbox in which user can enter time (eg- 01:00) and also a drop down box for entering AM/PM fields. (Since the AM/PM field is used, 12-hour time format is used.) The text box allows a max entry of 5 chars only (eg - 01:00). 1) Pls let …
Hi I'm trying to find a tutorial that shows me how to create a popup page upon entry. The popup should save the user's cookie info and be big enough to display a user agreement which the user must click on to accept. Does anyone know of any tutorial showing …
Hi everyone, I am a complete newbie so please be gentle with me.If my question is silly and impossible please tell me I have followed a tutorial and made a slideshow on my webpage like the one here [url]http://demo.tutorialzine.com/2009/11/beautiful-apple-gallery-slideshow/demo.html[/url] I have used divs and same script. I am trying to …
Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); …
My form is like the above [CODE] <form method="post" name="publishResult" onsubmit="return g(this);"> <select id="options1" name="se1" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option value="A">A</option> <option value="A-">A-</option> <option value="B+">B+</option> <option value="B">B</option> <option value="B-">B-</option> <option value="D">D</option> <option value="F">F</option> </select> <select id="options2" name="se2" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option …
Hi everyone! I am new in Web Programming. I want in my ComboBox to pop up a question everytime a user changes the combo box. It will ask, "Are you sure you want to update" then if the user clicks on yes it will be redirected to another page and …
hi i have created function that automatically adds rows with chekcboxes. i can create two button that one serves checking all checkboxes and the another one serves for unchecking rows. but i would like to check/uncheck all checkboxes with single checkbox. then i have created checkbox for the purpose to …
[CODE]document.getElementById('login').innerHTML += '<p><a href = "/<Project name>/<Servlet name>" onclick="sendRequest("/<Project name>/<Servlet name>", "uid=' + FB.getSession().uid + '", AJAXresult, "post")">Recommend me a movie!</a></p>';[/CODE] The code above works fine outside of the innerHTML. Is there something wrong with the code above?
can anyone help me............... in the attachment i've made textfield and a button.........in that on pressing "A" the count begins which is been displayed in the label..........but the speed of the counting is very fast when pressed down without releasing......can anyone tell me how to reduce the speed of the …
Hey guys, I'm trying to echo a link that has an onclick attribute attached to it, but when I click on the link on the page, just goes to the desired page, and doesn't preform the onclick action. Here's my code: [code=php]<?php if(session_is_registered("sesvar")){ echo ("<a href='../../admin/comment-delete.php?id=$id2' onclick='return(confirm('Are you SURE you …
how can I make menu like tool in visual studio when hover on it. it will show the rest of menu to the right.
Hello I have a question dealing with links and the page that the link is directed to. So if i have [CODE]<a href="www.check.com/check.php">check</a>[/CODE] And if I click on it and then i go to that page. I would like the "check" link to be underlined. So I would like the …
hi all this is my first query plz help me, i have one page which hv two ifrmaes,parent iframe contains no of child ifrmae.now oncliking child iframe check box ,i hv to get that value into parent iframe,i managed to create array of parent iframe but can't get child ifrmae's …
Is there some way I can loop through this code? using Ajax? Thanks for any recommendations. [CODE] <?php $paintingBack=$paintingNumber-1; $paintingNext=$paintingNumber+1; if ($paintingBack < 1) { $paintingBack = $paintingBack + 1;} ?> <a href="" id="link1" class='link'><img src='images/braceL.gif' alt='brace' width='20' height='11' valign='text-bottom'/></a> <script type="text/javascript"> var l = document.getElementById("link1"); l.onFocus = function() { …
Hi there, in twitter and facebook when some of your friends/follows makes new post, your page gets updated via ajax. any ideas how it is implemented? i need the best concept/idea, not the code :] thnx in advance
Hello. I have a Javascript that generates 2 conditional select tags. If condition in 1st is being selected , the 2nd select shows different options. Here is an example : case "events" : document.formname.subcategory.options[0]=new Option("להקות והרכבים",""); document.formname.subcategory.options[1]=new Option("רביעיות כלי מיתר",""); document.formname.subcategory.options[2]=new Option("מעגלי מתופפים",""); document.formname.subcategory.options[3]=new Option("תקליטנים",""); document.formname.subcategory.options[4]=new Option("רקדנים ומופעי בידור",""); document.formname.subcategory.options[5]=new …
<b></b>Hi, i have a requirement like this 1) I have some code in JavaScript 2) When ever it runs automatically Yellow colored Pop-Up Information Bar ll appears 3) Now i want to completely disable that information bar 4) If i runs that Html file it should be automatically allows ActiveX …
Hi, I can pass an array through jquery ajax. [CODE] var regSubCodeArray = new Array(); var temp = 9; var i; for(i=0;i<temp;i++) { subname = 'sub'+i; subcode = 'sub_code'+i; subcredit = 'sub_credit'+i; regSubCodeArray[i] = document.getElementById(subcode).innerText; } $.ajax({ url: "testArray.php", type: "GET", data: "page="+regSubCodeArray, cache: false, success: function (html) { $('#ttl').html(html); …
I want a text field which should have database values....(like dropdown list) from that list i can select text which is in database... Can any one help me out its very urgent....... once see [url]www.justdial.com[/url] under "City" text box i want exactly like that ...i also want to match the …
Can any one tell me javascript for pop up text on mouse rollover on image like this site SNIP
I want to pass array[x] to a variable so that I can use the variable in .innerHTML. I've researched and not found a reference. Any help appreciated. Big thanks.
What Are The Most Important Of ASP.NET Parts That For Developing WebSite Must be Known? and a bit AJAX in ASP.NET Or JQuery,what are they?,what do they do? and ... Thanks
hi, goodday. my name is babafemi ibitolu, from nigeria. please i am creating a web application and i tried accessing a textbox control which is on the login page from the home(index) page. please how can i do that like it is done in winforms. actually i instanciate the control …
I am displaying the results by iterating the list in div tag say "results" in my case.For refining of search i am using ajax call. But when i am getting response back from this below snippet [CODE] document.getElementById("results").innerHTML=xmlHttp.responseText;[/CODE] . Its showing me content of JSP in which i am refining …
Hi! I have to create a virtual keyboard and for that I need a div tag with small buttons. I have the code for virtual keyboard using jquery but I don't know any CSS methods in order to make the format of a virtual keyboard. For example, the kind od …
Hi, everyone. I've been attempting to write a very simple and short code. All I want to do is have some text on the page that says, "Click here to make a cookie." The 'Click here' part will be the link. What I want is for the 'Click here' link …
Dear All, I have one combo box where upon change will call ajax function to fill another combo box below. All works fine in IE but when I test it in chrome and firefox I have one minor problem. The problem is here echo "<option value=".$haulierID.">".$row1['haulierName']."</option>";. I notice in chrome …
hi I am unable to find any solution on how to create run time radio buttons . eg. if I selcet source and destination then all the train(with its detail like train no. etc) in this route will be displayed with radio buton. just like we see in railway reservation …
Hey, so I'll post what I have, the code is pretty self explanatory. I have a hunch that there are more efficient ways to code than using these long and repetitive if statements, so if you guys could help me in that direction that would be great. I also am …
hey people. okay, i am designing a social network. but i got a problem in my signup code. check this is the form code : [CODE] <script src="../../../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /> <script src="../../../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" /> <div id="signup"> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0" …
Hello friends, Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums. Here's my scenario: I …
Hi, guys I want to implement the google coder in my web, such that if I give the address of any location he can give me the latitude and longitude of that address, plz any one have any tutorial then plz send it to me. just like these webs [url]http://itouchmap.com/latlong.html[/url] …
these are my resolutions: [LIST] [*]Less Games [*]More Coding [*]I will learn how to code in standards [*]I will learn more about cURL, Jquery and LOTS of new technology in Web Development [*]I will learn JAVA programming and replace VB as my software Primary Language [*]I will continue developing my …
Hello I'm using a form with a dropdown list. When the user select "Test1" in the dropdown then press the button "Submit" it has to send the data to [url]www.test1.com[/url]. When the user select "Test2" in the dropdown then press the button "Submit" it has to send the date to …
[CODE]while ($row = mysql_fetch_assoc($query)){ echo("<tr id='$a' bgcolor='B0C4DE'>"); $sr_num=$row['b_sr_num']; echo ('<td>'.$row['b_sr_num'].'</td>'); echo ('<td>'.$row['b_name'].'</td>'); echo ('<td>'.$row['b_author'].'</td>'); echo ('<td>'.$row['b_avail'].'</td>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("<td>Available</td>"); }else echo("<td><INPUT TYPE=button id=show name=show[] value=add onClick=buttonPress('$sr_num','$a')></td>"); [/CODE] can you give me the code of or sample to use …
I have a web portal [url]http://www.game4tress.com[/url] that loads a series of databases. Most of the time, everything works fine, but certain times, especially on google chrome, if i click too fast on a link, inside the main page (to play a certain game), i get an (unknown) error message when …
How would I get text from HTML on a website? This is all I know to get to it but its only the elements; webBrowserMain.Document.GetElementById("footer").Children GetElementsByTagName("ptz-footer") GetElementsByName("ptz_value") The ptz_value has the text I want to retrieve. Thanks...
Hi, right I'll try put this across quickly but basically at the moment I have AJAX posting to a separate PHP page and then getting the response which is echoed on that page which is then used on the original page to display. This works fine and is all good, …
How would I go about copying a robots.txt file from a webserver and then displaying that information?
Hi, I have a file index.php with script on a link, which opens new window with myfile.php, using JS window.open method. The page itself is based on PHP. What i need to do is to prevent direct access to that JS popup window file. For example, if i press a …
[CODE] <script> var xhr = null; function createRequest() { if(window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else { xhr = new XMLHttpRequest(); } } function sendRequest(url, param, callback, method) { createRequest(); var httpMethod = (method!='POST' && method!='post') ? 'GET' : 'POST'; var httpParam = (param==null || param=='') ? null : …
Hi Frends, I have four fields, employeename, salary , dob, doj, I had given validations for all of these fields, But now I had to find the difference of Dob and Doj and it should be displayed in years, means if the difference is 5 or 10 yrs a popup …
Ok so I have a site that I want to automatically close the window when the focus is lost from the page. For example, if the user clicks off the page to something else on there desktop I want the page to close. So far I have managed to do …
hi! I would like to know how to use jquery in sliding left to right? Can you give me simple sample there.. thanks in advance.
Hello: I am trying to validate an ASP.NET radiobuttonlist using client-side javascript in a "Custom Validator" control. Here is my javascript validator: [CODE] function ValidatePrem(source, args) { var Array1 = document.getElementsByName('<%= rblPremModes.ClientID %>') var i; for (i = 0; i < 4; i++) { if (Array1[i].checked) { if (Array1[i].value == …
I am calling this javascript function: var facing = "First"; [CODE] function switchit(list){ if (list != facing){ document.getElementById(facing).style.display="none"; }; var listElementStyle=document.getElementById(list).style; if (listElementStyle.display=="none"){ listElementStyle.display="block"; } else { listElementStyle.display="none"; } facing = list; } </script> [/CODE] inside a nested div so that when a hyperlink is clicked it will show one …
The End.