15,113 Topics

Member Avatar for
Member Avatar for vijayram

hi, i have menubar.click menubar content load the particular url in this page. $(document).ready(function(){ $('#menubar li a').click(function(e){ e.preventDefault(); $('#userpersonal').load("http://localhost/user/web/personal/index"); }); }); what is the problem in my code. plz help me

Member Avatar for jadein2
0
376
Member Avatar for dwlamb

I am wondering if I am trying to do too much or if there is a better way for a client-side form I wish to create. A limited working prototype for what I have so far appears here: [http://cookbook.dwlamb.com/edit.html](http://cookbook.dwlamb.com/edit.html) I am using a table as the frame for the form …

0
96
Member Avatar for user543820

Hi! I have written this function in javascript. The problem I'm facing is that even when the text field in html form is empty, this function behaves as `alert("");`. It must display "Enter some text" in alert box. The function, however, works well when I enter "Hello" in the text …

Member Avatar for Troy III
0
199
Member Avatar for yehoshua2123

I want to make HTML appear as text to maybe write some snippets on a site. I know that there is a way to make < and > by using &lt; and &gt; but I would like something that were a bit easier to remember and quicker like maybe using …

Member Avatar for Troy III
0
411
Member Avatar for harsh01ajmera

How to create a website which i want to create by using a vb srcipt and also i want to make a use of java script in this.pls help me out..give me suggestions regarding this.

Member Avatar for madelinekim
0
117
Member Avatar for garyjuano

is it possible to preview the image in popup window. below is my basic code but i really dont know how to call the selected picture to view in the popup window. function newPopup(url) { var img = document.getElementById('photoimg').value; urla = url+'?img='+img; popupWindow = window.open( urla,'popUpWindow','height=700,width=680, left=300,top=10,resizable=yes,scrollbars=yes,toolbar= ,menubar=no,location=no,directories=no,status=yes'); } <form …

Member Avatar for AleMonteiro
0
215
Member Avatar for PhilEaton

Hello all! I am using a little piece of code in a report I'm generating (LogiXML). It is a "back" button that takes the user back to the previous page.. It does not however, use any form of a history, back, location javascript code. It just uses a plain old …

Member Avatar for PhilEaton
0
2K
Member Avatar for Albert Pinto

Hi People, Got some issue with radio buttons... I want to pass the form details WITHOUT PAGE REFRESH.... I have a textbox and 2 radio buttons with values Subscribe and Unsubscribe and a submit button. The user has to enter his E-mail id in the given textbox and select either …

Member Avatar for kalpanakovuru
0
2K
Member Avatar for limeramen22

Hi. So I have a website (SNIP) and I am setting up a phpBB forum (or something else). But......I'm going mobile-style! Is there anyway I can make it so anytime a new post comes up (assuming the person is on the website), the person gets a push notification or something? …

Member Avatar for Daniel Jones
0
156
Member Avatar for kapil.goyal

can anybody tell me how i can upload a file without user interaction.the file full path is known and can be hardcoded.there will be a button on page when user press it the file should be uploaded. Active-x i sone solution but for that the user have to low down …

Member Avatar for sa.ahmadzade
0
349
Member Avatar for Violet_82

Hi there, I am working on an accordion, I am more interested in the way it works, but I am having some problems. I worked on something similar sometime ago, and got some help in here, but I thought I will try to do it again on my own..and ehm, …

Member Avatar for Violet_82
0
86
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
288
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
167
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
289
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
122
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
292
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
135
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
288
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
407
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
112
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
109
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
181
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
177
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
129
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
265
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
148
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
61
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
213
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
270

The End.