15,698 Topics

Member Avatar for
Member Avatar for spideyprasad

I need code for iframe for the replacement of frameset. My frameset code is <frameset rows="14%,*"> <frame src="logout.html" scrolling=no> <frameset cols="25%,75%"> <frame src="Players Name.html"> <frame src="Dhoni.html" name="secondframe"> </frameset> </frameset> I need it in iframe. I cant able to nest iframe which i did in frameset. Is it possible to write …

Member Avatar for JorgeM
0
300
Member Avatar for softDeveloper

Hi all, I found this code : http://www.magic-dev.com/drag-drop-multiple-items.htm It works perfectly. However, if I pass these elements by ajax to a javaserverpage,they will be displayed, but won't either be dragged or dropped even If I have all the droppable and draggable functions and jquery libraries in the destination page, it …

Member Avatar for Airshow
0
169
Member Avatar for veledrom

Hi, Code below works fine up to **hr**. For some reason, html code appears as is in textarea. It should first appear as notmal text. Anyone know why? Thanks <!DOCTYPE html> <html> <head> <style> p { margin:8px; font-size:20px; color:blue; cursor:pointer; } b { text-decoration:underline; } button { cursor:pointer; } </style> …

Member Avatar for veledrom
0
192
Member Avatar for BAEdwards

Could someone explain in the most simplistic terms possible why this doesn't work: var cell00501=row005.insertCell(-1); cell00501.align="center"; cell00501.width="8%"; cell00501.onclick="RadioClicked(0)"; cell00501.innerHTML="<IMG SRC='RadioOn.jpg' BORDER='0' NAME='Spangle0'>"; By doesn't work I mean the onclick event doesn't result in the RadioClicked() function being called. I have come up with the following workaround: var cell00503=row005.insertCell(-1); cell00503.align="center"; cell00503.width="8%"; …

Member Avatar for BAEdwards
0
291
Member Avatar for Sanchixx

How can i stop someone from posting when this form is empty? Here is my form: <form name="message" action="" > <center><input name="usermsg" type="text" id="usermsg" size="63" /> <input name="submitmsg" type="submit" id="submitmsg" value="Send" /></center> </form> Sanchixx

Member Avatar for pritaeas
0
125
Member Avatar for Suzie999

I do apologise for not knowing a single thing about JavaScript. I am under the impression that I can have a code to handle events in a webpage header. I am specicically reffering to Internet Explorer Browser. My goal it to capture and handle the event BeforeNavigate2. I would be …

Member Avatar for Suzie999
0
297
Member Avatar for noelthefish

Hi, I have looked at this code and I cannot see the problem. If anyone can spot the error then I will be very grateful. Basically I am returning an array from a .PHP in json format the code is here. echo json_encode($anarray); the array is made up like "vegetable" …

Member Avatar for Airshow
0
144
Member Avatar for aristos32

Hi all. I use the following js function to dynamically create an new <tr> and <td> in my table. Then I insert an <input>. : function testName(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); //firstname var cell1 = row.insertCell(0); var element = document.createElement("input"); element.type …

Member Avatar for aristos32
0
292
Member Avatar for Dmennite

I am using Satadip Dutta's search engine script inside an iframe <!-------------------------------------------------------------------------------- Please remove this section from the actual page when you actually use this page. Here are the thing you need to modify in the page 1.title[0]=no_of_urls ( this is for the total number of urls which will be …

Member Avatar for twalton42
0
409
Member Avatar for Dani

I'm feeling a little dumb when it comes to the editor that we are using, and I was wondering if anyone knew of any good online tutorials for an introduction to tokenizers.

Member Avatar for Airshow
0
114
Member Avatar for black_star

ok hey guys i have a application in vb with a textbox 2 buttons and a web browser, button1 is for navgating the web browser through what is entered in textbox1 button2 is for inserting the javascript : javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 however when i clickthe button i just get …

0
111
Member Avatar for Buppy

Hi, I have a js script: [CODE]var inputCounter = 0; function addInput(divName){ var newdiv = document.createElement('div'); newdiv.innerHTML = "somefield1: " + "<input type='text' style='width: 250px;' name='f1[]'> somefield2: " + "<input type='text' style='width: 200px;' name='f2[]'>"; document.getElementById(divName).appendChild(newdiv); inputCounter++; }[/CODE] and the data was received by the php script [CODE] $_SESSION["f1"] = $_POST["f1"]; …

Member Avatar for aristos32
0
185
Member Avatar for abhi10kumar

I have city and its corresponding locality. City is showing dropdwon and Locality in Dropdown-Checkbox I got code Dropdown-Checkbox, when user clicks city then its locality will show in Dropdown-Checkbox. It is showing multilist control in thepage but when I choose city it is showing multilist-box rather Dropdown-Checkbox. How I …

Member Avatar for abhi10kumar
0
788
Member Avatar for vaironl

I'm trying to learn exactly what is MVC or MVC patterns in code. I have done some research to a point where I believe I understand the meaning and use of this idea... But I do not entirely understand the concept. Is MVC( Model View Controller) pretty much, trying to …

Member Avatar for Dean_williams
0
181
Member Avatar for alpinemobile

Hi. So I have this HTML file that tests the user's screen resolution, and plugins installed using Javascript. So when the user accesses the page it sees: (e.g.) Your current screen resolution is 1024x768 and you have the following plugins installed: Plug-in No.2- Java Deployment Toolkit 7.0.10.8 [Location: npdeployJava1.dll], Plug-in …

0
131
Member Avatar for Violet_82

Hi guys, I wonder if you could clarify something for me. I am looking at some css examples and I have this situation here: html: ...<div id="news"> <h2>Latest News</h2> <p> Which member of the seminal calypso/lectro band <em>C&amp;C Music Sweatshop</em> was spotted last night at <em>Dirt</em>, the trendy New York …

Member Avatar for Violet_82
0
131
Member Avatar for Violet_82

Hello there, I wonder if you can help me with a jquery issue. I am at the moment reading a book about it and there is an example in there, which you can see here http://antobbo.webspace.virginmedia.com/various_tests/worktest/chapter_03/09_animated_navigation/index.html If you hover on the navigation you will see the jquery effect kicking in …

Member Avatar for pritaeas
0
310
Member Avatar for Marty1963

I have a daily article on my site with a preview/read more "ad" on the homepage. ([Click Here](http://www.popeyescanada.com) (Being rebuilt) Up to now I've been manually editing the 31 php daily files to insure the text fits within the window. I KNOW there is an easier way to do this …

Member Avatar for pritaeas
0
150
Member Avatar for ttback

I am trying to experiment with HTML5+Ajax client with a Java SOAP web service on the server end. I know that Ajax can use SOAP web service and it is not difficult. What about using Web Service through HTML5 Web Socket? I haven't found much about using a SOAP service …

Member Avatar for geg2024
0
63
Member Avatar for pritaeas

I'm looking for a short jQuery snippet to count how many divs I can have horizontally in my browser window. Basically, I'm using a fluid layout, like this: <div id="wrapper"> <div id="content"> <div class="foo" /> <div class="foo" /> Wrapper is 100% width, and foo about 250px wide. What's the simplest …

Member Avatar for pritaeas
0
217
Member Avatar for smileybowen

This script works perfectly in IE but not at all in Firefox or Safari. I'm a newborn in the javascript world. I read some other posts and tried using Firebug but that didn't help and I tried the error console and that didn't help me either. Please take pity on …

Member Avatar for bart12
0
278
Member Avatar for DAZL

Hey Guys, I'm struggeling with an idea of mine and hope there's someone here who can help me. **My idea:** A small gallery package, consisting of as few files as possible (html, css, javascript) that can read the /images folder in the same folder, and output those files to the …

Member Avatar for DAZL
1
255
Member Avatar for dany12

Are thyere any security issues that can affect data integrity or theft by other party and si there a solution to avoid this using the cool efects of jquery and json?

Member Avatar for pritaeas
0
132
Member Avatar for vijayram

Hi,everybody, i have this code,what is the problem.button clcik nothing to display, i want to button click display label and textbox. $(document).ready(function(){ $("#planbar").click(function() { var html=""; var i=0; var display=" "; /*var numitem = $(this).val; if(numitem>5) numitem=5; alert(numitem); for(i=1;i<=numitem;i++) {*/ html+="<div><b>Planbar</b> </div>" + "<div class='field'>" + "<span style='width:115px;float-left;text-align:right'>Where:</div>" "<div>" ; …

Member Avatar for suneel.gupta
0
97
Member Avatar for RazorRamon

I need some help. I'm loading a .php file using jquery. the php is a mysql query that pulls all the cities from Alaska. The problem is that I wrote my query a certain way and it seems jquery changes it when it loads it. state_alaska.php include 'config.php'; include 'opendb.php'; …

Member Avatar for pritaeas
0
235
Member Avatar for vijayram

Hi, i created fileuploader using php and jquery.user one click same time upload 20 images. i need each 3 images automatically arrange in 3 different sizes.first image width:120, 2 image width:192,and 3 one is 280. all the uplaoded images grouping 3 images. This is the my index page code. anybody …

0
72
Member Avatar for baller_r

Im trying to build a drop down menu like the one on this site: http://www.debijenkorf.nl/. I know css and i have built normal horizontal menus before,but not with drop down menus. I would like some info on how to build this. Thanks.

Member Avatar for almostbob
0
110
Member Avatar for riahc3

Hey This is a stupid and very noob question but lets say I have something like: <script type="text/javascript"> /*javascript up here*/ var variable = new object("bla", "morebla"); variable.dosomething("evenmorebla", function(key, value) { alert("key is '" + key + "' and value is '" + value + "'"); }); alert ("alert 2 …

Member Avatar for riahc3
0
3K
Member Avatar for glycerine

Hey guys im creating a weapon comparison script for the new game the secret world. A excel spreadsheet has already been created to do this (attached)(i have permission to replicate) but I wanted to give it ago via a php script. See what I currently have attached. What I need …

Member Avatar for glycerine
0
110
Member Avatar for rotten69

Hey everyone, I am looking for Javascript API's on the internet but I couldn't find one that has all built-in functions and stuff. Is there a downloadable version of the documentation or a website that I can search what function is available? something like php.net Cheers,

Member Avatar for rotten69
0
417

The End.