15,699 Topics

Member Avatar for
Member Avatar for darylglenng

<html> <title>application</title> <style type= text/css> <!-- style1 font-family: Arial, Helvetica, sans-serif; color: =00000000; } --> </style> <head><script language="JavaScript">{ function upper( field ) { field.value = field.value.toUppercase(); } <!-- function validate() { var good = true; with( document.theForm ) { if( id.value =="") { alert("Please provide a student number combination of …

Member Avatar for radhakrishna.p
0
216
Member Avatar for pratham3090

Not able to drag down baloonpopup extender in ASP.NET It shows black circle with line. (not allowing to drag on form) but when i drag it on text box it work but when i run the page textbox diappears. please help and also tell how to use baloonpopup extender.

Member Avatar for pratham3090
0
151
Member Avatar for cgull

Hello, I am trying to create a menu that slides up when a button is clicked. I looked at a lot of tutorials of animate and slide but nothing works for me. I hope someone can help. What I need is a button that says: Click for Menu and when …

Member Avatar for cgull
0
209
Member Avatar for vizz

I'm using **[Ascensor.js](http://kirkas.ch/ascensor)**. I need to detect which div section is visible in window to add animation effects to elements inside that visible div. For following code, <div id="ascensorBuilding"> <section> //floor one content here </section> </div> I'm using my code, <div id="wrapper"> <div class="section about" id="about"> </div> <div class="section home" …

Member Avatar for imBaCodes
0
509
Member Avatar for sonicx2218

So I found this neat js for my site to make the video system much more streamlined. I was wondering if anyone knew how to change the carousel.js in the code, so that instead of circling around a few thumbnails, instead there would be a grid system of thumbnails underneath. …

Member Avatar for imBaCodes
0
259
Member Avatar for nHulk

"httpError: The Http Transport returned a 0 status code. This is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." I am getting this error in my web page form... how to get rid of this message ............

Member Avatar for LastMitch
0
413
Member Avatar for morris_hirsch

This has been asked before in several places, but I keep finding the question and never a solution. If JavaScript on a page does window.print () I want to get back a status telling either 1) accomplished (which means there was some time elapsed, just like clocking does) or 2) …

Member Avatar for LastMitch
0
221
Member Avatar for ChargrO

Hi guy I was wondering how I would overwrite something written on my form using variables ie. my limerick is There was a fat butcher called Bill Who cooked more than he wanted to kill One day he sat down And said with a frown That his eating was more …

Member Avatar for ChargrO
0
209
Member Avatar for itsnexgen

Hello, I have an idea which i need to turn into reality. I am trying to build a complete AJAX based Auction Web Portal. What I know - PHP, AJAX a bit & HTML, Javascript and XML. Few questions in my mind: 1. Where should i start? What all required …

Member Avatar for LastMitch
0
206
Member Avatar for serph09

It's a bit confusing to explain so I'll give an example instead and try my best. So let's say I have multiple blocks of DIV element with same class name (can't change class name for each DIV), but within each of those DIV, the content is different (specifically the a …

Member Avatar for serph09
0
315
Member Avatar for paulnamroud

Hello, This is my first experience with C# Web Service & AJAX ... I would like to build a page like Facebook that will load the next set of records when we scroll down ... I'm trying to use the code but it's not working at all ... Can you …

Member Avatar for paulnamroud
0
332
Member Avatar for turpentyne

All the characters in breaking down a string confuse me. I'm trying to understand how to find whatever number is in a string, and increment it up/down by one (unless it's a known last or first number?) $('#arrow_prev').click(function(){ var whichgallery = $('#div_id').attr('class'); // this could be .class_1 through .class_12 var …

Member Avatar for turpentyne
0
1K
Member Avatar for Samyx

Hello Everyone, How can I save the field id/name on a variable, once an user clicks on it, so that later I can use that variable as a parameter to retrieve data from the database? In the code below, you can see that I am selecting information from 'ac' in …

Member Avatar for LastMitch
0
202
Member Avatar for '1'='1'
Member Avatar for deceptikon
0
119
Member Avatar for Martin C++

I want to check if nickname contains only numbers and letters. It cant contain anything else. My current code is not working because as soon as I type in atleast one legal lettrer, the entire string evaluates to true every time I check, no matter how many illegal characters it …

Member Avatar for Martin C++
0
188
Member Avatar for Nagarajan M

Hi friends, I am using java applet that will perform some operations. Now it is independent of jsp or html page. So,if i close an applet my html page remains active and Vice-Versa. What i want to do is embed an java Applet in html page itself. When i click …

Member Avatar for Nagarajan M
0
712
Member Avatar for turpentyne

I have an onclick function for an <ul><li>, but I need to set a variable from the id of an <a href> tag insde the <li> and I'm not sure how. I have: $('#dropdown ul li').click(function(){ var picked = $(this).attr('id'); // this part I don't know. // var picked = …

Member Avatar for pixelsoul
0
105
Member Avatar for vinithawilson

i need to change background-color of a particular colum when the table header corresponding to that column is clicked.How to achieve this using html css & jQuery.

Member Avatar for imBaCodes
0
128
Member Avatar for mr0277

I have a session variable that I set to zero at every Page_Load beginning: Session["DoRefresh"] = "0"; On a dropdown value changed, in the event handler I do: Session["DoRefresh"] = "1"; On the end of aspx page I have a javascript added: function OnRequestEnd(sender, args) { if ('<%= Session["DoRefresh"] != …

Member Avatar for LastMitch
0
206
Member Avatar for ChargrO

Hi guys I'm fairly new to java script and was wondering if I could get some help with this, please forgive the probably messy code. <HTML> <HEAD> <TITLE>Limerick Generator</TITLE> <script type ="text/javascript"> function display(f) { f.result.value = eval((f.character.value) + (f.body.value) + (f.characterrhyme.value) + (f.occupation.value) + (f.task.value) + (f.verb.value) + (f.direction.value) …

Member Avatar for IIM
0
207
Member Avatar for turpentyne

Strange little glitch in a function. I need to replace a class for an element. I can add class, but I don't want that. I need to replace the class. And it's not working. The variable passes with .addclass. and not the other way. maybe there's some syntax I'm not …

Member Avatar for turpentyne
0
202
Member Avatar for lukas.vandendijssel

Hello, I am making a Google Chrome extension. It checks if a Minecraft Server is online. To do so, it has to open a socket. As JavaScript can't do this, I made a PHP script that does the trick and I host it on my webserver. However, my code returns …

Member Avatar for pritaeas
0
131
Member Avatar for HelloJarvis

My desired effect is for a comment delete button like what Facebook has on mouseover. The parent element is inserting a new div that will be the "delete" button on mouseover, and removing it on mouseout. My problem is, when I try to mouse over the div being inserted, it …

Member Avatar for HelloJarvis
0
212
Member Avatar for techyworld

Anyone can tell me if there is an automated tool to generate class diagram for javascript and php?

Member Avatar for pritaeas
0
75
Member Avatar for DaveyMoyes

Hi Everyone, I am new to JQuery, Java Script & Ajax. Hope you dont mind the daft questions I may post. Here is my first Jquery, JS & Ajax question. I have the follow script inside my head section of a website I am testing with. <script type="text/javascript" src="jquery-1.9.1.js"></script> <script …

Member Avatar for pixelsoul
0
201
Member Avatar for navp

Whats up people So i have been trying to figure out how can i make the background be the size as the content. I am using a canvas as a background. Since i am making a j-query mobile, the content is not alot and the background goes below the footer …

Member Avatar for navp
0
242
Member Avatar for winbala5

Hi all gud morning > I try in to implement table with pagination. Am using Jquery data table. In data table i have problem loading all data from database so time dealy more. so i want to implement in Ajax, jquery, Mysql. kindly gudience to me.

Member Avatar for pixelsoul
0
79
Member Avatar for thetwig

The form submits even when there are validation errors. How do I disable the submit button when there are validation errors? Here is the .js file ,submitFu:function(){ _.validateFu(_.labels) if(!_.form.has('.'+_.invalidCl).length) $.ajax({ type: "POST", url:_.mailHandlerURL, data:{ name:_.getValFromLabel($('.name',_.form)), email:_.getValFromLabel($('.email',_.form)), phone:_.getValFromLabel($('.phone',_.form)), //fax:_.getValFromLabel($('.fax',_.form)), //state:_.getValFromLabel($('.state',_.form)), message:_.getValFromLabel($('.message',_.form)), owner_email:_.ownerEmail, stripHTML:_.stripHTML }, success: function(){ _.showFu() } }) }, showFu:function(){ …

Member Avatar for LastMitch
0
314
Member Avatar for Yarra

So what is going on is. For some reason if I just invoker "render();" the function does not run. But when I put it under the main(); function, and then invoke the main function under a "setInterval()" method then everythig works. Why is this? // Draw everything var render = …

Member Avatar for Airshow
0
133
Member Avatar for chr.s

I'm making a full-screen slider with [maximage][1] & [cycle][2] that (so far) does the following: - Compares a given URL hash against each slide's ID and loads a match, if found, - Appends the first slide's ID to the address bar as a hash, if none is specified, - Replaces, …

Member Avatar for LastMitch
0
414
Member Avatar for ravindhra5a3

this is my toc.ncx file <?xml version="1.0" encoding="UTF-8"?> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en"> <head xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"> <meta name="dtb:uid" content="http://www.snee.com/epub/pg23436"/> <meta name="dtb:depth" content="1"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"> <text>Aladdin or The Wonderful Lamp</text> </docTitle> <navMap xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/"> <navPoint id="navpoint-1" playOrder="1"> <navLabel> <text>Aladdin or The Wonderful Lamp</text> </navLabel> <content src="23436-h.htm"/> </navPoint> …

Member Avatar for LastMitch
0
226
Member Avatar for bals
Member Avatar for Violet_82

Hi chaps, I am having a little problem. Given the following snippet: html <div id="carousel"> </div> css #carousel{ border:1px solid magenta; width:600px; height:258px; background: url('sprite.png') no-repeat 0 0; position:absolute; left:0; top:28%; } jquery $(document).ready(function(){ function scroll(){ $("#carousel").animate({ backgroundPosition:'-600px'}, 500); } setInterval(function(){scroll()},2000); }); I am trying to run scroll() forever to …

Member Avatar for GliderPilot
0
335
Member Avatar for GlenRogers

I dont even know if this is an ajax problem, but maybe someone can help me!! I have a menu php file that containd-s categories of products, some of these categories have subcategories. I have it working that when you click a category then it shows all the products for …

Member Avatar for GlenRogers
0
136
Member Avatar for asif49

Basically what I want to do is to be able to detect when the particular page loads in some data dynamically. This needs to be general as the script will run across a lot of websites whose js content or other content/configuration I am unaware of. My intention is that …

Member Avatar for asif49
0
135
Member Avatar for turpentyne

I created this to make an div containing an intro dissappear after so many milliseconds. It also has a 'skip intro' link at the bottom. Everything works fine, except, the first function seems to fire even after somebody has skipped the intro. So there's a quick flicker as the div …

Member Avatar for LastMitch
0
118
Member Avatar for paulc79

I'm having problem with the homepage calendar. Here is an link - [http://clontarf.girlsacademy.com.au/](http://clontarf.girlsacademy.com.au) What I what to do is - When the user clicks the date on the calendar, the page will go to the events page (go to news/events tab, scroll down to see the heading …

Member Avatar for pixelsoul
0
187
Member Avatar for rp91

Hi, my problem is as follows. My aim is when a user clicks 'comment' for a post, a `<div>` appears with the form, which I can get working just fine. However as moving on with my development, now when a user clicks 'comment', parameters are passed to change the url …

Member Avatar for pixelsoul
0
239
Member Avatar for turpentyne

I've got a bit of javascript that changes the background image of a div on hover. Then, when they click on a link, the page rearranges, and the clicked menu item changes background image to show which section they're on. (the page never reloads). Unfortunately, after they click, the hover …

Member Avatar for pixelsoul
0
423
Member Avatar for milkman93

Hey guys, I'm trying to take xml code and present it to the client via html. Creating the xml file was the easy part, the part I'm having an issue with the javascript code. Here is the xml code: <staff> <member> <name>Joe Gerilo</name> <schedule>Mon-Fri</schedule> <office> <city>Chiago</city> <building>31st AMC</building> <boss>John H</boss> …

Member Avatar for pritaeas
0
178
Member Avatar for kevinn

Hello, I am currently creating a javascript refactoring framework in clojurescript. Because Javascript is a dynamic language and has no static type info I've used an points-to analysis to infer type info from the source code. Now I'm looking for good refactorings that people using Javascript need. For example I …

Member Avatar for pritaeas
0
110
Member Avatar for inheaven

In my application, users often need to go to `+1` or `-1` day from the current selected date. For this, I want to make this process more quick by adding two image buttons for +1 and -1 operation on the right side and the left side respectively. I have tried …

Member Avatar for inheaven
0
5K
Member Avatar for subrata_ushasi

Hi all , I developed an website and the same trying to for mobile where clicking on menu will open menu items (to see menu items click using mounse and scroll) and clicking on menu items like "about us" , "services","solutions" etc will open the contents. I think it can …

Member Avatar for LastMitch
0
168
Member Avatar for subrata_ushasi

Hi, I developed an website having interactive world map . When I rollover / mouse over a country ,it displays country's information. It is ok but when it is viewed on tablet or mini laptop with screen resolution 1028 x 600 then country rollover information partially going out of screen …

Member Avatar for LastMitch
0
110
Member Avatar for craigallansmith

GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website …

Member Avatar for LastMitch
0
787
Member Avatar for turpentyne

I have a page that is centered both vertically and horizontally. I've got a snippet of javascript that reorients the page if the user repositions their ipad. If they start in horizontal, and go vertical, everything loads fine. My problem is that, if they start in vertical and go horizontal, …

Member Avatar for LastMitch
0
225
Member Avatar for shrutib

Hello all, My problem is there will be list of images where i need to swap the images to sort it like the way how i want to see.Say for example, image 1- position-1, image 2 position 2 etc. When i drag image 1 position 1 to image 5 position …

Member Avatar for stbuchok
0
446
Member Avatar for programmer12

**Problem:** I am currently using Jquery Autocomplete UI and it works perfectly but I would like to add more to the codes, but I have no clue where to place the codes. **What I would like to add:** I would like to add the Keyword Hightlights, HREF LINK (window.location.href), and …

Member Avatar for LastMitch
0
214
Member Avatar for aus_fas1

I want to replace form field names with the label text in the following code. I am just missing a line perhaps var template = $('#idRequestDetails').clone(); template.find('input,select,textarea,table').each(function(){ var newId = this.id.substring(0, this.id.length-1) + uniqueId; $(this).prev().attr('for', newId); // update label for this.name = this.id = newId; // update id and name …

Member Avatar for LastMitch
0
81
Member Avatar for littledevils326

I am creating a web page where the user and select an item by clicking on the button. The details of the item selected will be displayed in a dropbox. At the moment I can get it to update the quantity if the user selects it again. The problem which …

Member Avatar for LastMitch
0
197

The End.