20,316 Topics
I'm having an odd issue here. Basically, I have an AJAX response that is returning HTML that I'm using via innerHTML. The following is a portion of the AJAX response: [CODE]<img id='img_display' width='583px' style='margin-top:62px;' src='../galleries/gallery/img.png' alt='' />~<table ....[/CODE] The following is a small portion of my AJAX code: [CODE]var response …
Hi All, The following is a script ive found that lets me type something in and it reads from an array using ajax GET. What im wanting to do is to not require a user to input anything but instead just immediatly call the information from the fixed value that …
Hi friends, I have Question About jQuery... I want go get page unload animation[effect]... it is must be fadein effect example is [URL="http://www.mkyong.com/jquery/page-loading-effects-with-jquery/"]http://www.mkyong.com/jquery/page-loading-effects-with-jquery/[/URL] .. But this working at the page load..But i want this at the page unload & reverse order of this animation Please help.......Thanks
Hi, my name is Cakka. My personal site is -> <url snipped> I am working as Website Developer , My Codes is PHP , MySQL, Javascript, HTML , XHTML & CSS. My favorite CMS is Joomla, Drupal, and Wordpress. And you can get my profile from <url snipped> You can …
Hi, I am creating a registration web page where I need the user to input the date of birth, What is the best option to get the date? 3 dropdowns for month, day n year seems to be tedious, though achievable but is there a better way? I could think …
Hey Everyone ,, I Am Stuck With My work ,, Pls Help Me Out The Problem IS that i Copy codes from dynamic drives .com and paste them on my webs.com page , But the problem is that ,,only One Code Works At A time !!??? Why The Hell Is …
Hi, It is possible to remove (expire) cross subdomain cookies using javascript? For example, Facebook.com creates these cookies in the ".facebook.com" domain:[IMG]http://www.datermine.com/img/MStandaloneImage/full/agpkYXRlcnJtaW5lchgLEhBNU3RhbmRhbG9uZUltYWdlGIn9DQw/[/IMG] I'm creating a chrome extension with a content script that can run javascript within a page in the browser, typically in the 'www' subdomain and I'd like to …
Hi, anyone can help me with getting the check box value? this is my code. Thank you [CODE]<HEAD> <SCRIPT LANGUAGE="<strong class="highlight">JavaScript</strong>"> function getSelectedCheckbox(buttonGroup) { // Go through all the check boxes. return an array of all the ones // that are selected (their position numbers). if no boxes were checked, …
I've setup a javascript window.open bit of script to print one div. Is it possible to style the div with css that gets printed, no matter what styling i put around the div, they disappear when i press the print button and it opens this new window with the div …
Guys, I have a dynamic HTML table which gets populated by coldfusion and displayed in the page, I have a column called performace which holds numeric values. I need to select the top 3 best performace value in the column and then highlight the entire row in different colours (top …
Hello Everyone, I have 2 checkboxes in a form and onclick of these. Once the checkbox is checked, only the fields that are relevant to the checkbox are displayed, with default values in it and to fetch the default values i need to trigger php code. So i can't perform …
Hey! I have a problem with parent and child windows. How do I set the main program to parent window and the other windows to child? I also wanna be able to change a line of text in the main (parent) window from a textbox in a child window. How …
I'm currently creating a basic website but i'm strugling on my menu buttons part. I have created a Home, Info & Contact us buttons etc, but how do I link these so from the home page I can select Info, Contact us etc, then select the home page. If someone …
hi i am calling a javascript function from code behind page (aspx.cs) Javascript is called from row databound event of a grid.. but now for IE6 only i am getting an exception. "Object reference not set to an instance of an object." Its ok with IE7 and IE8. Please help …
Hello All, I am new to using AJAX.I am using Visual Web Developer 2010 and I followed all the steps given on the [url]http://www.asp.net/ajaxlibrary/act.ashx[/url] web page to install AJAX.However, when I try to run my website,I get the following error: "Could not find any resources appropriate for the specified culture …
hmm how will i start.. in my main page we can find the login form... that login form is made up of div... after i successfully logged in that login form div will become hidden then my other hidden div which is the control panel will appear.. that control panel …
There is a banner ad at the top of the index page called banner1.jpg. I need help with creating a cycling banner ad using 3 banner ad images (bannerad1.jpg, bannerad2.jpg and bannerad3.jpg). I also need to add a link to bannerad2 that will take the user to [url]www.bigmtn.com[/url] and add …
Hi, could someone please point me in the right direction for creating an AJAX page that displays "live" data from a mysql database ? I need the page to update its self every time data changes in a mysql table. Thanks, Mark H.
Hi, I wonder if anyone has tried to implement PHP with Javascript. I have the code here like this: if($name=='Mary') { echo "<script type=\"text/javascript\">window.alert(\"Hi, Your Name is " . $name . " \")</script>"; } For some reason, I don't get anything on the screen. Could I embed javascript in PHP …
Hi all, I implemented jsTree([URL="http://www.jstree.com/"]http://www.jstree.com/[/URL]) in my script, which is displaying a tree structure for me, but i have a problem The problem is onCliking on the anchor tag it is not taking me to the url given on the href attribute, please help me to resolve this Ex : …
Basically I've got a text editor which revolves around a jTextArea. There are some settings (e.g. whether line wrap is enabled) that I'd like to save to a file when the application closes, and then load up again when it runs next. I've spent a few hours trying to get …
I need to be able to count the textbox characters on a keypress, how would I do that?
[CODE] <cc1:Accordion ID="Accordion2" runat="server" SelectedIndex="0" TransitionDuration="300" FadeTransitions="true" style="position:absolute; top: 1417px; left: 307px; height: 136px;"> <Panes> <cc1:AccordionPane runat="server"> <Header>SINGLE PRODUCT</Header> <Content> <table bgcolor="#E4D7D1"> <tr> <td class="heading" colspan="4"> Single Product </td> </tr> <tr> <td class="text"> <asp:RadioButton ID="chkHomePhone" runat="server" Text="Home Phone" GroupName="Category" /> </td> <td class="text"> <asp:RadioButton ID="chkInterNet" runat="server" Text="Inter Net" GroupName="Category" /> …
Hi, everybody)) In Daniweb when you click LOG IN, the page becomes like inactive, and box appears in the center with username and password fields. And there are many similar effects on other web sites. For example images in LightBox from Yootools. So, do you know any tutorial about how …
Hi all, I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present. So i can select a project from dropdown and check …
I have the following DIV that is inside another div that need to be refreshed every 60 seconds. This is the code: [CODE] <div style='padding-left:10px;'> {* SHOW RECENT ACTIVITY LIST *} {* DISPLAY ACTIONS *} {section name=actions_loop loop=$actions} <table cellpadding='0' cellspacing='0'> <tr> <td valign='top' style='width:55px; height:100%;' rowspan='2'><a href='{$url->url_create("profile", $actions[actions_loop].action_author->user_info.user_username)}'> <img …
I am trying to implement maintaining checkbox state across multiple pages in pagination.pagination is working fine.i havenot written that code here. I have written below sample code maintaining checkbox state across multiple pages.;when user clicks checkboxes it calls handleCheckbox funtion and the checkbox id and value will be stored in …
When you access a url that has several anchor tags on it. You know what I mean, links at the top that navigate to a specific point in that page by adding a "#name" at the end of the url. In every other browser, if you click on a few …
Hello everyone, I'm having an issue that's only appearing in Internet Explorer browsers. It works fine in Firefox and Chrome. [CODE]var yDiff = wHeight - 102; [COLOR="Red"]login.style.top = yDiff+"px";[/COLOR][/CODE] The line of code highlighted in red is triggering an "invalid argument' error in IE browsers but not others.
I want to create custom search box like Google. I want to place the image inside the textbox and when user click on textbox the image on textbox must disappear.How it is possible.
Hello Friend, This is the question what i have.... I am use main aspx page call [B]A.aspx[/B]... In that page There are links available.. Those link click event call to javascript function...That function include following codes [CODE] function moreWindow2(id){ window.open('[B]B.aspx[/B]?val='+id+'','mywindow','width=850,height=540','location=no'); return false; }[/CODE] link pass the id to the js …
Hi all, I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present. So i can select a project from dropdown and check …
hi , I want to ajaxify my asp.net pages by using jQuery. I have downloaded ajaxify.js files and jQuey files also. but how to select contentplaceholder using jQuery? help me out!:(
I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code …
I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the …
Hi! Im using a webbrowser control, and i want to read the html source immediately, as it arrives in more parts, dont want to wait until the whole document downloaded. I look for an element with specified id, and when its present in the arrived part of html, invoke click() …
Can anyone help me out in calling a JavaScript function from ASP.Net or if anyone can direct me to a good site/tutorial defining things in detail example (working) code would also be great great benefit :) Thank you
hi all, i am having some check boxes in my page. so i dont know the number because it is cuming from data base, so i need a javascript validation for this check boxes because he should check atleast one check box. so can any one please... here is my …
I am new to Javascript and I don't want to use frameworks. I found a tutorial on how to make this: [CODE]<html> <head> <title></title> <script src="jquery-1.4.2.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function() { $("div#msgbox").hide(); $("#addComment").click(function (){ $.post('index1.php', { name:$("#name").val(), //PHP recognize it like POST comment:$("#comment").val() //PHP recognize it like POST }, …
G'day, Before i start, i have to admit that I'm out of my element when dealing with javascript! I've been developing a site for a travel agency, and opted to use some of the UI elements which can be found in jQuery. The problem is however, that when I move …
haii friends.... [COLOR="Red"]i want to select a particular string from textarea...i need it in javascript.... am using the tag <layout:textarea> i did not need the whole ,but only a part...plzz help me...[/COLOR]
Hi Guys, I want your help with , how to navigate between forms.I have one form that has a drop down list.first list item is to add new list item.So when user select add new item it pops up a new form to eneter item and save it.When i save …
Hello everyone, i'm trying to use 2 mootools scripts together in one source. They work serperately but as soon as i combine them only one is working. It seems they interfere with each other but i can't seem to find the problem. Can anyone help me out? I'll paste them …
I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code …
I can't get this to work in Google chrome. It's supposed to display after being processed by the php file. here's the javascript <code> ajaxRequest.onreadystatechange = function(){ if(ajaxRequest.readyState == 4){ var ajaxDisplay = document.getElementById('ajaxDiv'); ajaxDisplay.innerHTML = ajaxRequest.responseText; } } </code> here's the html/css code <code> <div id='ajaxDiv'><p></p></div> </code> Here's the …
Hy every body, what I am making is some functions for other people to make figures with pixels. So I put two documents: imagepixel.html [CODE=dhtml] <!doctype html> <html> <head> <meta name="author" content="Someone"/> <meta name="description" content="my webpage ..."/> <meta name="keywords" content="my, webpage"/> <title>image by pixel</title> <script language="JavaScript" type="text/javascript" src="imagepixel.js"></script> <script language="JavaScript" …
Hello, a few months ago I started not being able to view javascript. Google ads, chats, javascript popups, chats ect. I use Mozilla firefox but I have the same prob on IE (Yes javascript is enabled on both). I use XP and run Nortions Internet Sec 2005 although I have …
I have a table that looks like: [CODE] <table id="mytable" border="2" width="640px"> <tr> <td></td> <td><b>Col 1</b></td> <td><b>Col 2</b></td> <td><b>Col 3</b></td> <td><b>Col 4</b></td> <td><b>Col 5</b></td> <td><b>Col 6</b></td> <td><b>Col 7</b></td> </table> [/CODE] and a function to add a row and cells in the row that looks like: [CODE] function addRow() { //add …
I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of …
i have a problem regarding light box focus.. i have a button that whenever i click the button it will call the light box.. there are 2 function . [CODE] function focus_on_lightbox(seconds) { var seconds_waited seconds_waited = seconds document.getElementById(EducationBox).focus(); seconds_waited += 100; if (document.getElementById(EducationBox) != document.activeElement && seconds_waited < 2000) …
The End.