20,316 Topics
Hello i trying to create a little diary using jquery, i have a script where you enter in the textbox then it displays it in a div with a delete button. how do i make it so when i go back to the page the text is still the but …
If I have an external website how can I pull data from it. I have the following code snippet that I need to pull data from: [CODE] <div class="headlinesBox"> <div class="headline currentHeadline"> <div class="headlinesClipping"> <img src="/common/images/thumbnails/source/1320614405d.jpg" style="float: left; width: 262px; height: 236px;"/> </div> <div class="headlinesText"> <h3><a href="/details/news/1325223/Template-Assisted_Fabrication_for_Polymer_Solar_Cells.html" title="Template-Assisted Fabrication for …
I am attempting to use a WebBrowser control in C# to display a webpage. I would like my C# application to know when a Javascript function is called within the loaded webpage. Is there anyway to do this? I can't seem to find an event handler for it.
[CODE]<%@page import="java.util.Calendar"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>employee leave application</title> <script src="EmpLeaveValidation.js" type="text/javascript"></script> <style type="text/css"> #ehint { position: absolute; right: 230px; top: 18px; } #cnhint { position: absolute; right: 200px; top: 40px; } #chint { …
Hi, i'm really new to jquery and i don't know how to solve this. i added following code to blink a div. initially mypopup div is hidden. and 10 seconds after page was loaded this div appears. because of this toggle() method div displays for 10 more seconds before hiding …
Greetings, I am attempting to paste a javascript music player into my site from the developers at cashmusic.org. The music player displays and plays files correctly in the 'live view' display in Dreamweaver, but will not display at all in browser preview (Chrome & Safari). I have brought up Chrome's …
Hey guys, I was wondering if there is possibly an "onBlurr" or "onChange" way I can check using JavaScript if a Birth date is correct I've seen a couple but I have a pretty simplistic way about how I want to get it done. Basically what I would like to …
hi, i need to build a slider. which is not there in the page when it loads. then after few seconds it appears and slides from the right hand side of the window and stops at some position on the screen. then after few seconds it changes its image into …
Hi guys, I seem to have come across a weird issue in internet explorer. I've been working on doing regular expressions for a register form, and I've checked it in Firefox, and Chrome and it seems to work for both of them but yet it doesn't work for Internext Explorer …
I added an editor from this site [url]http://dhtmlx.com/docs/products/dhtmlxEditor/index.shtml[/url] it works when I add words but when I click submit the text doesn't go through the POST how do I do this? I added a textarea like in one of the examples on that site, and another button that when clicked …
I'm receiving an 'undefined index' error when calling a new window and I can't quite figure out why. Seems to me like the variable is not being passed, or holds no value, and again I can't figure out why. I use an identical code for 'state' with no issues. Here …
in a my page i have create che code for a modal dialog box in jquery: [CODE] <script type="text/javascript"> $(document).ready(function() { $('#dialog').dialog({ autoOpen: false, height: 280, modal: true, resizable: false, buttons: { OK: function() { $(this).dialog('close'); } } }); }); </script> [/CODE] i should want the window appears if a …
I describe my problem with following simple example. here when i click the test button it will create a new test button inside div tag. But after that if i clicked new generated test button document.getElementById("test" ).onclick = function() is not working. how can i add functions to new dynamically …
Hi all, I'm new to web development and am experimenting with different things; one of which would be creating a visually appealing "drop-down" menu. I had a simple CSS selector setup before but I opted for a JavaScript solution instead, making the change for the greater flexibility which the approach …
[CODE]<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]"> <head> <meta http-equiv="Content-Type" content="[CONTENT_TYPE/]" /> <title>Micro Customer Care</title> <style type="text/css"> body { padding:0; margin:0; } </style> [STYLE_SHEETS/] <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="css/ie5-6.css"/> <![endif]--> <script src="js/chat.js" type="text/javascript" charset="UTF-8"></script> <script src="js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script> …
Hi All, I am using a loop to display professionals and their data on a webpage. I have a "Recommend" button that is included in this loop and when clicked, displays a jquery POPUP form that will email the chosen professionals data. My trouble is, when I click the "Recommend" …
Hello, I've get very elementary problem with javascript I add onclick option to one of paragrahps, but it doesn't work properly, It should display result of my new function, but it display result in a new, empty page. (My function work properly, but connecting it with onclick and button is …
I have entered value in a textbox and want it to be displayed in the form beneath.How should I do it?
Hi. I was wondering if there was a command that allows you to return to the beginning of the script. Let's say /pseudocode/ You ask for pass word if password is correct --> do nothing or just display a random message else if password is incorrect or no password is …
I know from scouring the Web that this is a very common Javascript question, but I have a twist on the question which is giving me headaches, and I hope some of the brilliant minds here at DaniWeb can help show me the error of my ways. Say a user …
An assignment asks me to take certain details from user and then generate a passowrd and then the details should be sent to another page .How do I implement it using JavaScript?
Hi everyone,I would like to implement a drag and select feature in the page.I have tried to implement in the following url,but the javascript function work only for the mouse click. Here is the url of the page [url]http://pekas.lbclients.info/SchedulesWorkManage.php[/url] The working is as follows: The user have to pick one …
I want to list helpful instructions on my website for customers, specifically designed for them. I'd like for one of 16 images to appear below the 3 dropdown boxes, dependent on the values selected. The process can be instant or initiated with a submit button, but I'd like for the …
I have to build a small contactform validator in JS, which checks the fields' values when submit is clicked. I am experiencing problems with getting the email validation to work properly. This is what I've got: [CODE=js]function validate_form() { valid = true; // Validation of email input if ( (document.contact.email.length …
how can i change longitude and latitude of my google map? can i use javascript for that???? i made website with google map api and it works with default value for longitude and latitude...here is my concern, all i want is to change the location dynamically of my google map …
Hi frendz, Can we set a value for a session variable through javascript onclick event? (or) How can we set a global variable for the whole website using javascript?
Hello everyone. I'm an expert html5/css3 designer, but when it comes to javascript, I don't know anything... I need some javascript code that detects a browser engine (webkit, gecko, etc.) and redirects based on that. I need webkit and gecko to redirect to home.php and all others to redirect to …
Hello friends, I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full …
Hey everyone! I'm currently busy learning jQuery and developing a jQuery slideshow and I have a few problems just with the scrolling of the thumbnails of the images. I want to click on a thumbnail to show me a 'larger' version of it and the thumbnails must scroll with buttons …
Hi, I am trying to modify a contact form but I do not know why the Dropbox has been duplicated?! I think the issue comes from script.js but I do not know how to fix it?! Can you please take a look at the site: [URL="http://www.geoca.com/demo.php"]http://www.geoca.com/demo.php[/URL] as you can see …
Hello, this is my first forum post ever so please be gentle. I have a hidden menu (div) which is revealed once you click a img button. The magic is done with js command like style.display='block'. Problem: The height of the page(stage) is 700px and the menu is 1000px, so …
Greetings I've got this code that tries to update a sortable list (not really a list since I don't use ordered lists, but divs). The thing is, I tested in another area of my site and it's working fine. When moving forward to another list, it just doesn't seem to …
Could Someone PLease Help Create Forums... Some Reference Codes PDFs? I don't owe a top-level domain just free hosting so here it comes... I'm a 15-yr old boy and I want to learn how to make [U]forums with users log-in[/U]... gonna style it put some ads(which is the thing I …
Ok so problem is that I'm using an XML generated intro for my website. My intro(index.html) is in the root directory with website home(index2.html). Issue is that I want the website to be loaded directly after intro in the same browser tab/window/page instead of a new one. Intro is using …
hi everyone , I have a gridview like this id name country 1 test testcountry 2 test1 testtere I have to print total pages containing page 1 -------- id---1 name--test country-- test more columns-trtrtytr page 2 -------- id---2 name--test1 country-- testtere more columns-trtrtytr in each page we have more columns …
Hi guys, I have a problem on my php code and url passing. [B]What it should do:[/B] There are 3 forms of the php file, the [B]"email"[/B], [B]"item1"[/B] and [B]"item2"[/B]. The [B]email form[/B] is hidden by default on page load, it will only be visible if any of the [B]item1[/B] …
Hi How to disply element id value to view pls give me with example if(a.indexOf("UpdateDiv***") > -1){ var arr = a.split("***"); document.all.lblDivAccess.innerHTML = "  [ " + arr[1] +" Divisions(s) ]"; document.all.lblDivAccess.style.display = "inline"; document.all.lblDivAccess.style.color = "red"; document.all.txhSelDiv.value = arr[2]; break; } in this line iam getting totally added 'number'(in + …
[CODE]<div id="test1"><div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"> </script> <fb:comments href="http://www.jewelryfresh.com/" num_posts="10" width="739"></fb:comments></div>[/CODE] Above is the code for facebook comments box. I want to dynamically change the href value to the page on which it is. How can i do it.I do not want the static href value as it is now. Please …
hello there. i was just wondering.is it possible to get the text display of your div and place it in a variable? if so, how should i do it? i've been searching for a solution in this problem but i can't find anything.thanks in advance.
hi guys, i have a site which is built using php/mysql with some jquery etc in it. is there an easy way to create an offline installation package of this which syncs to the online version? what is the easiest way to do this? thanks again for the help
I am a newbie and I want to create a job, bursaries online classified. What tools do I need to use to get it off the ground. The website creator I am using is Weebly. I've seen some of the other website having some sort of a web page slider …
Hi I have a 'add' hyper link by clicking the link it open a new window after selecting the data from right table to left table i clicked OK button, by clickig the button child window will closed , now if i click the same hyper link again the newly …
Hi, I've got a table with 3 cols and each cell has a checkbox. I want to have 3 checkboxes above the table that each one checks/unchecks all the checkboxes in the table but ONLY in one col. so if I click checkbox 1 all the checkboxes in col 1 …
Dear All, I have function where I read from a mysql table a set of value. Part of my codes is like this [CODE]echo "<tr id='gridRow'> <td >$count</td> <td> <input type='checkbox' onClick=selectAndUpdate('$row1[size]')></td> <td> {$row1[SerialNo]}</td> <td> {$row1[InHouseBranding]}</td> <td> {$row1[BrandCode]}</td> <td> {$row1[size]}</td> <td> {$row1[Pattern]}</td> <td> {$row1[EntryStatus]}</td> </tr>";[/CODE] A sample row generated is …
I have a HTML form and I would like to display the values in the form on the same page below the form itself . My question is how can I display the values entered in the form above .I would like to use a javascript. Please help.....
hi everyone ...how to do this in jscript .... refreshing a page once,twice or so on every given time.. (refresh 1x/30 secs or 2x/40 secs) to make it clear: example i will input 100 on a textbox (so this is my given time) and i will set to refresh the …
Here`s my code. [CODE]<html> <body> <script type=text/javascript> var n=0; while(n<=10) { document.write("<center>"+n); document.write("<br>") n++; } </script> </body> </html>[/CODE] The output is like this : 0 1 2 3 4 5 6 7 8 9 10 -- but they are in the center. I want to put them in a table. …
Hey Guys What i want is, to show a pop up or a simple div or a modal or any dialogue box to to load on my home page to show welcome message, whats new etc stuff, which will be displayed only once in a day to every visitor of …
Hi guys, I am new here in the community. I need help on how to pass a javascript variable value to a php variable.. I am using jquery to hide form1 when the page loads. My first javascript is working fine. my code is like this: [CODE] <script type="text/javascript"> $(document).ready(function(){ …
please guys help me out I want to create a busaries and job search website. and i want to link my pages to external pages without leaving my website by just diplaying only that particular content.
The End.