17,114 Topics
![]() | |
hi, i use AJAX, framework - JQUERY. Now all information show in one table( <div id = "user">). [code] var user= setInterval(function() { $('#user).load(user.php?id='+ Math.random()); }, 5000); user.php: $rez= mysql_query($sql, $db) or die("Error"); while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){ $name= $r["name"]; $time= $r["time"]; [/code] But how make this: $name show in … | |
Hi there: This specific to the messages posted by members for various sections on this forum. when I read through the message text, and if the member has typed in some link of other site, on mouse over of this link i see small image of the link contents. I … | |
Hi all, I'm creating a fairly large web-application that uses a reasonable amount of AJAX. My question is; will it cause problems (in terms of process speed, overall performance and most importantly if it's actually possible) to run this application from multiple computers? Primarily if, for example, two separate computers … | |
God i'm having a terrible time trying to do this. Does anyone know how to set a javascript variable as a query result from a MySQL database. As an example, like this: Set this query: [CODE]$query4=mysql_query("select price from pricelist where item='$result3[item]'"); $result4=mysql_query($query4);[/CODE] into a variable: [CODE]var price[/CODE] i just can't … | |
Hi, I'm creating a dynamic site but now I'm coming across a problem when I'm displaying input textbox.The textboxes uses two events onblur and onkeypress These two events they invoke the same function which suppose to determine the function must be executed between Shownext() and tabbackorFront() When a use uses … | |
Hi all, I am having trouble trying to load contents on a tab in accordion on the fly. Which means, the content for a particular tab will only be loaded and displayed when user click on it. Is there any example available? I am still trying it with Ajax. I … | |
Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is … | |
I am using the below pre-built script for my mouseover images: [code] <script src="js/chrisdomroll.js"> /**************************************************** * DOM Image rollover v3.0: By Chris Poole http://chrispoole.com ****************************************************/ </script> [/code] And it works on the page simply by adding the following attribute to the image tag, with the behind being the mouseover image's … | |
In other words, can I do this.. [CODE]<cd> <artist>Angella Christie</artist> <album>Hymn & I</album> <song>Blessed Assurance</song> <genre>Gospel Jazz</genre> [COLOR="Green"]<image> http://ecx.images-amazon.com/images/I/41TQV56BH0L._SL160_AA115_.jpg</image>[/COLOR] </cd>[/CODE] I'm asking because when I press "Get Schema" Dreamweaver gives me an "Expected entity name for reference(13,16). The "image" tag line is line 16. | |
![]() | Hi, I am quite new to web development. I wrote this script to display current weather it works fine locally. But not able to run on my web server - I get "Access Denied error". Can anyone help? or suggest a better way to get yahoo weather on my web … |
Hello, What I am trying to do is show or hide a div when a user clicks the link, but I have multiple divs that belong in the same place so when the user clicks a link it needs to hide the current div, if there is one, and then … | |
Basically I'm having trouble getting it to work. The instructions aren't really clear at all on [url]www.stickmanlabs.com[/url] . I've got thumbs. I can get them to work individually, but the next and back buttons to the next image isn't working. Can you help me? thx. b | |
Hey all, I'm working on a project combining a javascript bookmarklet and a php script that lets users mail the url of the site they are currently browsing to their email address. I had a PHP issue solved over in the PHP forum: [url]http://www.daniweb.com/forums/thread202375.html[/url] But now I have a new … | |
THis is really silly but nevertheless... I was wondering what does the <Option Selected ...> in the drop down list mean? Does it mean that the indicated option is selected by default? I just wanted to confirm cause even if I remove the "Selected", it still shows the same option … | |
Hi there, Does anyone know how to force Internet Explorer to refresh it's results from an AJAX call? I might be doing something wrong but here is my problem: I use Ajax to present a form containing price values of a product from a database, where they are presented in … | |
How can I create a white loading page like GMail, and when the content of the page is loaded then replace the white page with the original one. I'm using ASP.NET with jQuery. Thanks in advance. | |
I have used this code for ajax pagiantion JS file - [code=JavaScript]document.getElementById('divname').innerHTML = content; ajax.callPage("URL"+str, ajaxSearchFilter); tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;[/code] Php file - [code=php]<td colspan="2" align="center"> <?php if($page != 1) { $pageno=$_GET['page']; $pageprev = $pageno-1; if($_GET['city_name'] != "") … | |
Hi, I have a schedule updater that is running perfectly in firefox, but slowly in IE7 (and probably IE6 as well). You can see the script in action at: [url]http://www.jobvid.com/CustomizeNewSchedule.php[/url] Any help would be greatly appreciated! The code is below... Thanks, Dave [code] <script type="text/javascript"> function changecolor(Id,ctrlhide){ var current = … | |
I downloaded a shadow box from the web that uses javascript and based on the size of the div it applies a shadow. This is great however when i apply a slider javascript function to it to make the div bigger the shadow goes nuts and does not like it. … | |
Hello, I am working on a drag and drop interaction for a website using script.aculo.us drag n shop. What I need is for he User to drop chosen products into the cart and submit a message for the site admin to receive the users contact information and desired products. No … | |
Hi All I'm using Dreamweaver's (MX) form validation system for a form and noticed something odd about the last "required" field. The validation system works fine on all other "required" fields, but if there is any copy in the last "required" field, the form is sent to the database and … | |
hello, I have 3 textboxes and user should fill atleast 1 of those. so i have to check that. How to do it using Required field validator/javascript function. [B]Note: I am not using form , the text boxes are in content holder of the page. If i use javascript how … | |
i have a form that on post it runs a php page.But when the result is successful it opens a notification page. The problem is that it opens both the php page and the notification all I would like to do is to show the nofication page. php page runs … | |
i posted this question in other forum but no luck so far, i found a link that has the same goal as i am but dont know how modify this [url]http://www.verysimple.com/blog/wp-content/uploads/2007/01/resize_css.html[/url] my goal would be in reverse when enlarge (window browser dragging) my div will decrease size (width) when enlarge … | |
I've got this javascript toggle array script. It was working and I don't know what point it broke, but I am having trouble getting it working again. The code below is linked in an external .js file: [code=javascript] function toggle(showHideDiv, switchTextDiv) { var ele = document.getElementById("showHideDiv"); var text = document.getElementById("switchTextDiv"); … | |
I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't … | |
hi buddy, i have a problem in tabbed pane that works by java script.problem is---my tabbed pane has two panes.Every pane contain record list with pagination indexes.By default first pane is up.when i work in first pane,there is no problem.But when i work in 2nd pane and click any link … | |
i am checking the checkbox is checked r not by using following code.... if the condition is true i have to checked another box in runtime using docuemnt.form... or document.getElementById like...document.form.chkbox2=checked like that... [CODE]if(document.form.chkbox1.checked){ // }[/CODE] | |
i need open source for dropdownlist for country,state and city as same as in below link [url]http://www.genuinematrimony.com/register.php[/url] | |
I already have 3 Javascripts working that I trigger within my <td>'s like this: [code]<td onMouseOver="mover(this)" onMouseOut="mout(this)" onClick="mclick('test.html')">Test Button</td>[/code] I have now coded up 1 Javascript function to handle all 3 events (using if statements). But how do I trigger the calling of that function inside my <td>'s? I was … | |
Hi, I have been trying for having pop up menu inside textarea while typing on it. while typing, it takes the text from the textarea and should display 4-5 options in textarea at the point of typing and if we select any option , it replaces the word being typed … | |
Hi All, Please help me in this. I'm a new member. I have a page with grid view appearance, data is coming in from table. For each column of the grid I have a button to sort data in asc/desc order of that particular column. I did this: <recordset_name>.Sort="<column_name> DESC" … | |
i am doing an assignment in programming javascript...and i'm stuck in a problem. It asks to automize a system over the internet to rent a car. the company has overall 8 cars from which 4-are air conditioned and 4- are not. the program should ask the user to press 1 … | |
hello every one sorry if my activity not very well at last few days :icon_rolleyes: I need function 2 remove spaces if more than one and to merge lines into one line like this [COLOR="Green"]we still here where are you [/COLOR] into [COLOR="Red"]we still here where are you[/COLOR] | |
i'm trying to detect the host so that the print function if detected WSH print should call WScript.Echo(obj) if detected Rhino print should call java.lang.System.out.println(obj.toString()) if detected Browser create a console for output using Javascript/DOM and print should call like console.print(obj.toString()) or console.innerHTML = obj.toString()... is there anyone who can … | |
Has anyone ever done what is called eproject in school before ?,can someone xplain and clue about eproject pls thanxz. | |
Hello guys. I have a callable statement which runs and gets a value from the database. I have registeroutparameter which turns an integer value. I got to alert that value on screen. In java code everything works fine and i can print it on screen. But i can not turn … | |
i want to know all the javascript function in c# .net ..can anyone send me the link or material plz | |
I am building a website for users that exist around the world and need to show the user's "local machine" time and timezone, not the time of the website host server. Is there a javascript function or process to determine this? | |
I am pretty new with javascript, and I am making a page that has divs that change an image when rolled over. It works in Live View in Dreamweaver, and in Safari (couldn't test in IE because I'm on a Mac), but not in Firefox. Here's what I got in … | |
Hello people i have a textbox and i have its size 20 and its maxlength = 11. it does show it in the textbox while writing, but it lets me insert 15 digit number to my database. i type 12345123451 (it shows in my textbox) then i type 9999(it doesn't … | |
![]() | Hi. I am serving the contents of the page based on the navigation anchor links. e.g. [url]http://somesite.com/index.html#home[/url] will serve the home page contents. [url]http://somesite.com/index.html#about[/url] will serve the about page contents. The contents are stored in contents.php page and are written in the below tag inside index.html [code=html] <div id=contents> <!-- … |
Which is the best popup image viewer (Facebox, Fancybox...)? I need a good looking, powerful one. Thanks in advance!!! | |
Hello Frndz i m in complete mess... i have to a table with Add/Remove rows features... it should look like this - [code]textbox1 | textbox2 | Add Button[/code] after clicking the add button Row will append and Disable the textbox with values...!!! It looks like this after clickin Add Button.. … | |
hi guys, i have a php page with java script embed in it , i have 3 forms in a [B]single page [/B]... namely form1, form2, form3 . form 1 and form2 have a text box , these text boxes get input from users. Now my task is to get … | |
I have problem with the responseText property in Safari, Google Chrome and IE. Line 68 - the responseText is empty. This works fine in Firefox and Opera. Also i have this problem with the responseText only in the block that starts at line 61. I don't have problem with the … | |
Hi all, I am making a web page in which i want to use to dates one for "FROM" field and other for "TO". But i want to for this calendar should not show backdate means it will show all dates after today but it will not show yesterday date … | |
I am having a problem with a select that is showing thru an opaque div. See attached image(sorry, but this is an internal client app and I cannot show more). The blue horizontal line on top is the edge of DIV that I am displaying containing the text you see. … | |
Hello, Wonder if there is a way to have my Drop-Down box selections create individule single row/dual colume tables for each item that was selected from the drop-down box. An example would be: 1: I selected 3 items from my drop-down box at one time (my drop-down box allows multiple … | |
Hi all, I am very new to this but have look some of the examples of deleting tables and or rows with Java. The only problem is that all examples I have seen talke about one table and one or more buttons. What I needs to do is have 4 … |
The End.