20,316 Topics
hello Friends i m having problem My Query that on a classic ASP page i have a form. In that form one drop down list is there. If i select any value from this list menu Then this selected value should check with database and pass value to the textbox …
i'm trying to populate a JList, and i saw that this is how it supose to work [code] JTable tabel = new JTable(); tabel = new JTable(row, cols); while (it.hasNext() && it1.hasNext() && it2.hasNext() && it3.hasNext() && it4.hasNext()) { Object ob[][] = { { it.next(), it1.next(), it2.next(), it3.next(), it4.next() }} …
Hi, Im trying to run a MYSQL query to check if the input value exists first. A user fills in an input field and clicks "Add Tag" The java script on the same page checks the MYSQL table if that tag is already there and if so returns a faded …
Hi, i have two scripts, One holds the form and the other the php Query process. Im using a small piece of javascript to POST the value to my php Query process script but im finding it difficult to display a result by fading in a div based on the …
How can I find/program a list of: We only operate with natural numbers. 1. The prime numbers < 10 000 2. x = a^2 + b^2 < 10 000 3. x = a^3 + b^3 < 10 000 4. x = a^2 + b^2 + c^2 < 10 000 5. …
Hey. I have developed a jquery snippet, that creates a cookie if a window is opened. If only one is opened, and the user is attempting to close it, a confirm will show up to the user to log out first. I would like to create an if, that will …
good day everyone, i just wanted to ask for some help in using block ui for forms. i have a form with 3 values. once the form is submitted then block ui will appear with all the information from the form "echoed" within the div. but the problem is each …
Who shall and in which language convert this VBA UDF Code to be applicable for the application forms? [CODE=text]Function Tryme(mycell) mylen = Len(mycell) For j = 1 To mylen mytest = UCase(Mid(mycell, j, 1)) If InStr(1, "AIJQY", mytest) > 0 Then mysum = mysum + 1 ElseIf InStr(1, "BKR", mytest) …
Hi, I have the below code and it works fine except the part where I need to access data.Picture. I know its a syntax error but I can't seem to understand what. [CODE]$.post("rpc.php",arr, function(data) { $('#dorants').append(data); $('#dorants').append(data.Picture); [/CODE] Like always appreciate the help :)
Hi to all. Please help me add xml file to jquery slider. I want to show image from xml file. For example I have Nivo slider because they have a good transition effect. I'm a noob in Javascript and because I here. And xml file should look like this: [CODE] …
Dear All, This website has taught me lot of things since i was an engineering student. Now again i am back with a new question...... I need to read the contents of the jsp page that is using JSF framework through the Javascript. Any help for starting the thing will …
Ok if you visit [url]http://www.miniclip.com[/url] you'll notice that there is some kind of flash rotator on the home page. This is my code attempt to move between preloaded swf animations using javascript. I've tried giving id of the object or embed but this won't help. Of course this is not …
Hi, is there any way I can execute my PHP coding when my html image is clicked? Through AJAX, HTML, Javascript or anything. Right now my coding looks like this in Dreamweaver: <img src="_images/banner1.jpg" width="286" height="60" border="0" usemap="#Map" class="apply-btn" style="float:center; padding-top:20px; padding-left:240px;" onclick= "hello()" value='Applyonclick' input name='Applyonclick'/> </form> <script type="application/javascript"> …
Hi trying to create a list structure list "nvidia/ati" had before you select something in one list and then the second list updates with values based on you selection. It will not be drivers and static items tho. So the purpose of this is to get a tree structure from …
Hi all, I want help from all you wonderful guys. I want to know how can we free memory occupied by an Array. That means all the elements associated with this array should be deleted. let say: [code='javascript'] var bigArray = ["313123", "123123", "sadasd",.........................]; [/code] So which will be the …
for(var i = document.getElementById("tableId").rows.length; i > 0;i--) { document.getElementById("tableId").deleteRow(i -1); } I had to write this because it took me an hour to find out the error about deleting rows from an html table by javascript. If you do this it generates an error : for(var i = 0; i …
Looking to do a similar map. Can anyone give me the basics/tips? [url]http://omalley-supporter-map.heroku.com/[/url]
How can i randomize the color of each cell using Math.ceil(Math.random())? this is the code: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 20%; margin-right: 20%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; …
hey guys i tried using mouseout and mouse over in full calendar .But i am able to get mouseover but then after mouseout is not working .Help me in fixing this issue Try this code in firefox For any other necessary plugins visit :[url]www.arshaw.com/fullcalendar[/url] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …
Hey guys, I'm kind off new to PHP, and I'm trying to resolve this problem. I have a form where users can register their attendance for an event. If the person himself can not come, he has to register a replacement. So when the person clicks the radiobutton 'No, but …
what's wrong with this? >.< [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 25%; margin-right: 25%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; font-family: courier new; } </style> </head> <body> <h1>Multiplication Table</h1> <br …
hellooo... in my website tabs are working in IE i can open and access the tab content..wer as in firefox i am unable to open... the code was in js and html
Hi I am doing a java program. In which I have a jsp page, and on that I have two combobox. I have a create a java bean, in which I write a method "result" which return a arraylist. I want to populate the combobox by extracting data from database. …
Hi guys, Can anybody help me on this one...I have a button which when is hovered, triggers an action. But I'd like it to repeat it for as long as the button is hovered. I'd appreciate any solution, be it in jquery or pure javascript - here is how my …
Hello all, I am stuck here with a problem. I want to check if someone enters a negative score on a multiple form page. I want that the edit field is red color if the score is negative. I call htis function with the onblur event input name="pickscorehome" type="text" class="pickedits" …
Hi Friends.. In my web application(ASP.net), i need to disable the "Back" button in the browser.Moreover i also need to disable the Backspace key in my keyboard when my web page is run..How to do it with javascript..? Someone help with javascript as early as possible.. Regards, Balaguru
I have a user name, password, phone number etc., that all need to be validated before being submitted. The functions filter out the unwanted characters and null and zero length strings. I did have a pop up that listed the errors but I would prefer them to be listed below …
Hello Everybody, The good news is, I got the ajax jquery to work fine :) The problem is, I cant get top.location to work right after the ajax call. [CODE]$.post('ajax/test.html', function(data) { $('.result').html(data); });[/CODE] In that piece of code, how do I send (data) from my servlet? Is it in …
Hi, Below is my code which I am using to remove a div tag. I also want the script to add the same div tag later once certain conditions are meet. The div has some preloaded content too which I don't want to loose. I tried the add() function but …
i had developed the site [url]http://www.wooadvertising.in/[/url] . this is the horizontal scrolling website. normaly the website is work properly but when i resize the window all the content in the site mixup.. what i do to solve this problem.. plz check this site by resizing the window. can any one …
I am working on the one project & in that project i have use a link button for navigation & on that click event I use a Response.redirect() method; when i try to navigate in project on localhost server every thing is OK but after deployment in production enviroment i …
Sorry if this is an old complaint; but I suffer from incomplete knowledge which constantly plagues me. I would like to use iframe to solve a customization problem with a canned interface that my library is going to use to access our catalog. I got it working except for one …
Dear all I came across the following very simple code for dragging a square around using javascript. It is drawn on the html5 canvas. Despite being very simple it has certainly exposed some gaps in my pretty flakey javascript knowledge. I am generally ok with the idea of drag and …
hi How can we highlite(selecting) a search key. suppose i want to search php from database.so i am displaying a paragraph from the database.I want php to be highlited.How can i do this please help me Thanks
hello everyone. I'm doing a php script that will read and write to my database and as you all know inputted data with apostrophe's gives an error whenever queried i was thinking on a way on how to filter the strings so that it would be able to accept apostrophe's.Anyone …
Hi guys, I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. i am kinda stack of it. Can anyone please help me out? This is my codes. What i want to happen is like this. [B][URL="http://getpinoy.com/news_archive.?id=1&cat=local&m=11"]getpinoy[/URL][/B] …
i m unable to handle jquery accordian i want to bind it to ta database coz m showing lateset events, announcements in it i wanted that the user shuld be able to enter the values in a text box thru a admin panel which i shoud make for him n …
how can i extractthe value of a javascript variable and use it in a xml stylesheet??
Hi All, Im trying to get the following example to update without the need to click but cant get the bugger to work. The file its referring to is just echoing hello, im fine with setting that page up when its finished. all im getting is a white page. [code] …
Hello All, First let me acknowledge I am still fairly new to webdevelopment and this site. Thanks in advance to anyone who can help me with this issue and for those willing to try. The PROBLEM: I load into a div on index.php page via AJAX another php page. Once …
Hi guys, I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. i am kinda stack of it. Can anyone please help me out? This is my codes. [CODE] <link href="../_css/getpinoy.css" rel="stylesheet" type="text/css" /> <script src="../_utility/loadFlash.js" type="text/javascript"></script> …
[ATTACH]18100[/ATTACH] As u can see in this image, i have a link called "Done". The other contents are in an iframe window. These checkboxes are inside a form. What i want is.... when i press done in parent window,the form should be submitted in the iframe window.
Could someone please explain the line dealing with the array options[] array? I was trying to write it out with document.write(options[0]) but I end up with undefined output. Ultimately I would like to assign the values for width and height into it. [CODE] jQuery(document).ready(function($){ var $anchors=$('a[rel="enlargeimage"]') //look for links with …
My problem, I have a grid that shows me all the data in a database and at the end of row I have a combo that I want to change I changed the database, but the problem is that although the row 5 and choose option 3 always updates the …
Hello everyone. This is my first post at daniweb and I hope I can contribute to ellucidate doubts and problems and everybody here could help me out to bail out my "perverse" errors. I am making a website and I am trying to load info from a .XML file into …
Hi all, i want to make a search page, there will be a dropdown box and a button for each result, i want to name the drop down boxes accordingly in such a way that i can use in the javascript code, i'm trying this way [ICODE]<select name="hh[]"> <option>b</option> <option>bb</option> …
Hello everyone, I am really struggling with ajax and was wondering if someone could help me send a string as data by jquery's post method to my servlet. My post does not work, and when I try to receive it from my servlet, the whole thing blows up :( In …
I have this code for my menu bar home.html file ----------------------------------- [CODE=html]<html> <body background="background_aboutus1.jpg"> <link rel="stylesheet" type="text/css" href="menuBar/pro_dropdown_2.css" /> <script src="menuBar/stuHover.js" type="text/javascript"></script> <ul id="nav"> <li class="top"><a href="home.html" class="top_link"><span>Home</span></a></li> <li class="top"><a href="pulmonary_pulmoxcel.html" id="products" class="top_link"> <span class="down">Products</span></a> <ul class="sub"> <li><a href="pulmonary_pulmoxcel.html" class="fly">Pulmonary</a> <ul> <li><a href="pulmonary_pulmoxcel.html">Pulmoxcel</a></li> <li><a href="pulmonary_ventar.html">Ventar</a></li> <li><a href="pulmonary_ventar_exp.html">Ventar Exp</a></li> <li><a href="productPage/pulmonary_qualisone.html">Qualisone</a></li> …
i am using jquery at client end and use this code to send data [ICODE] $.post( "ajax.php", { Name:'doodle', Fathers_name:'anything' }, function(data){ $('#display').html(data.returnValue); }, "json" ); [/ICODE] the thing is that php $_POST['Name'] does not return anything nor does json_decode($_POST['Name']) but when i send data using the same function but …
good day guys, i have loaded jquery keypad ([url]http://keith-wood.name/keypad.html[/url]) in a block ui modal window ([url]http://jquery.malsup.com/block/[/url]) but sadly it refuses to render in the modal window. has anyone encountered this problem yet? i have tested the jquery pad outside of the block ui modal and it works perfectly fine but …
The End.