15,698 Topics
![]() | |
Hi, m working on facelets and using a4j components. i have rich:tabPanel containing 11 panel. the second panel contains data which is generated dynamically according to the parameter(tablename) passed on the click on the tab.If the parameter at run time is passed as "BESTCUSTOMER", on the click of second tab,there … | |
I have page1.php that has the a link to a popup. I need to send a variable to the popup window. I'm currently using this in the body: [code=php]<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>[/code] This is the function actpopup [code=php] url = "serv_act.php?act_id=act_id"; options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50"; window.open(url,name,options); [/code] But for … | |
Hey, So I'm writing an application in Adobe Air (AJAX) and I've come upon a little problem. I've created a function to set a minimum size for the window [CODE]var check_size = function() { if ( window.nativeWindow.width < 690 ) { window.nativeWindow.width = 690; } if ( window.nativeWindow.height < 400 … | |
Hi all, I am looking for an example/code to get MAC Address with JavaScript or any other technology for a php based web application. The collected MAC Address will be stored in a MySQL table, 'login' to generate reports. I have found some php scripts helping me do this but … | |
Hello everyone! Does anyone of you knows a good free CKEditor + CKFinder alternative? Cheers, Eshko | |
I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked … | |
I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] … | |
Hi, I was looking for a quick answer on this as i have been wondering what is the advantage of using javascript files in an includes folder rather than on page? So for example i have a javascript validation on my page, does it make a difference to the way … | |
Does anybody know of a good script to display a .jpg in place of a .swf if Flash is disabled. Example: I have index.html as a regular Website with an embedded .swf If this is viewed on a SmartPhone, how can I have a .jpg auto load instead of Flash? … | |
Hello Guys, Right my problem is, I am creating a slider where in which each element is slid (using animate width) into place. This is how it works, the element currently displayed is give a margin-left: of 842px (same as my slider width) and then a margin-top: of 300px (height … | |
i have a php code in a div. I'd like to cancel clicking on that div, until the page loads. i'm having the problem if i click on the div too fast which calls a popup div... it doesn't get the content from the php.. so it is a blank … | |
My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' … | |
Hey Guys, So I'm making a webpage that has a form that is based on the selected section of the website... And I got a few questions/issues. [LIST] [*]Is it normal that I have to make a different name for a value from a section that needs a javascript (line … | |
I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [url]http://www.w3schools.com/php/php_aja...p?output=print[/url] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an … | |
Hey, I am looking to have a menu similar to the one on: [url]http://maplestory.nexon.net/[/url] I want it so that whenever any menu item is hovered, a whole menu shows. Anybody know how I would go about doing this? Thanks a lot | |
[quote=peter_budo;269339]another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data[/quote] hi,, i'm whinkz,,hmm juz wanna ask u how to run javascript program properly?,,,,i was juz doing a school report,,, i dont have any idea … | |
please help@ i plugin the thuderbird to my java class and now i want to store the thunderbird send ,save ...mails to local database how i can be connect thunderbird to database for this. | |
I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery … | |
i am developing a website in html in which the contactus page i have to connect to ms access database i am not able to get it ,can any one tell me how to get that one. | |
cannot close the page in mozilla, so i set dom.allow_scripts_to_close_windows true manually. then i used window.close() its works fine. my problem is, i want to set dom.allow_scripts_to_close_windows enable true automatically using javascript code, its possible are not? | |
Hi all, i am having a page wer we can see a dropdown of projects and below that list of users with check box. so wen we select a project from dropdown,the page gets refresh and the assigned users for that project wil be shown as checked. this is done … | |
Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" … | |
Can anyone Help me ??? I need css style like in the picture bellow???? thanks alot......... [ATTACH]15283[/ATTACH] | |
I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a … | |
hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # … | |
I recently herd the buzz about JSON and stuff was also saw the coding style , but still i am not able to appreciate it . Well i am working in python web framework (not Django) and also using templating language. when i wrote a program to just to add … | |
hello, can u plz help me?? I can't run the javascript on Mozilla nad IE(can run on Chrome) I don't know why. I think my javascript has some problem. Here is my code ..... [CODE]<script> function check() { if(document.getElementById("name").value==""||document.getElementById("address").value==""||document.getElementById("phone").value==""||document.getElementById("email").value==""||document.getElementById("username").value==""||document.getElementById("passwd").value==""||document.getElementById("passwd2").value==""){ alert("You need to complete the form"); } else continue; } function … ![]() | |
Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 … | |
we've got an issue on our new test site that i'd like you to be able to solve; we have product pages; example page: [url]http://www.printsmarter.co.uk/newPrinttest/34-Brochures.html[/url] there is a selection of menus on the screen that you can change select different options to show you a price. issue is as follows; … | |
I want to create Google Custom Search TextBox that has background image and image disappears on onmouseclick and appears back on onmouseout. What is the code behiend it.Pls write the code. [B]THANX[/B] |
The End.