14,054 Topics

Member Avatar for
Member Avatar for softDeveloper

Hi all, I'm trying to get the caret position of an iframe. I tried several ways, based on this example: [url]http://stackoverflow.com/questions/8664504/designmode-iframe-get-cursor-position[/url] Anyway I try I allways get the start position of the selected text added with 19. I'm not getting why?

0
80
Member Avatar for Danny159

Hey, My following code doesnt seem to be working, it doesnt change the onclick function when you click the image... can someone please help me? Jquery is includes at the top of my page... [CODE]<script type="text/javascript"> function addfav(id){ var div = '#fav_'+id; $(div).attr("src","images/star.png"); $(div).unbind('click'); $(div).click(function() { removefav(id); return false; console.log('did …

Member Avatar for Danny159
0
156
Member Avatar for Tuz

i did a Display class to call Client class : package Details; public class Display{ public static void main (String[] args) { details d = new details(); \\ HERE IT CANNOT FIND SYMBOL d.details(); } } and the output is : error: cannot find symbol CAN SOMEONE HELP ME?

Member Avatar for stultuske
0
65
Member Avatar for jeevanism

hello folks, just a small help in urgent pls. My requirement is that I have to disable user input like clicking menu links when some functionality in the website is going on . in better words, when user Upload a large file, it will show a progress bar, until this …

0
63
Member Avatar for nuttyniall

Hi hope someone can can help im having a problem with how ripple is dealing with for loops when emulating an android app using html5 css jquery and jqtouch simple loop [CODE] var len = 1; for (i = 0; i <len; i++){ alert('foo'); } [/CODE] run it through chrome …

Member Avatar for Airshow
0
212
Member Avatar for FALL3N

I know this is a basic question. I asked the same question a while ago, even then thinking it was a simple question. The answer I got seemed to be what I already know and was obvious.. however, when I tried it, it did not work, so I just worked …

Member Avatar for FALL3N
0
214
Member Avatar for asif49

Excuse me for the very cryptic name but this is the weirdest (although very small) problem I've ever encountered. I have a variable in JavaScript which I want to initialize to the int value of 5 to be later incremented in a function. Everything works perfectly until instead of declaring …

Member Avatar for asif49
0
79
Member Avatar for Heinz Stapff

Hey guys, Name input value should be entered as shown on credit card eg. 'John P Smith'. I'm trying to prevent 'Aaaaa B Ccccccc' being sent to the sever. Any suggestions appreciated. I'm pritty sure the var rep=regex is causing the script to hang on the first if it acctualy …

Member Avatar for Heinz Stapff
0
582
Member Avatar for shielaolid

Hello Good day everyone, anyone can help me with error " Undefined index: is_ajax" I've encountered it. Im new in AJAX and im trying to use it on my login page. This is the code for my main.php [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Member Avatar for jstfsklh211
0
621
Member Avatar for ebolt007

So I have a script I'm working on that pulls multiple comments from a database, then puts it in a jquery piece that pulls the data from the arrays I created in my MYSQL Select. [CODE]function get_posts($start = 0, $number_of_posts = 5) { $posts = array(); $comments = array(); $query …

0
62
Member Avatar for tokick4

Hello, First let me start of by saying that I am new to javascript and ajax, but I thing I need them to accomplish what I am trying to do and here it is. I have there search forms, 1 search owner, 2 search contractor, 3 search properity. Then I …

Member Avatar for jstfsklh211
0
203
Member Avatar for M.Waqas Aslam

hello! i am working on a Asp.net project using C#, now i want to connect mssql server 2008 using JS or AJAX , i am very new with JS so i have no idea where to start .can anyone help me in this . Regards M.Waqas Aslam

Member Avatar for stbuchok
0
196
Member Avatar for abhijeet P

Hello all, I have a function in which onclick one window opens and there is logout option on the parent page. when I log out i want the child window to close as well. My native code is in Java and I need something in javascript. Plz help

Member Avatar for AleMonteiro
0
163
Member Avatar for dancks

I was given this assignment: Create an html form. Include at least two text boxes, at least one of which must be numeric, a set of at least three radio buttons, a submit button and a reset button. Upload to your account. Make sure the permissions are correct. Name it …

Member Avatar for baig772
0
349
Member Avatar for baig772

Hi all i am new to Node.js i followed the tutorial and typed the following [CODE]var sys = require("util"), http = require("http"); http.createServer(function(request, response) { response.sendHeader(200, {"Content-Type": "text/html"}); response.write("Hello World!"); response.close(); }).listen(8080); sys.puts("Server running at http://localhost:1331/");[/CODE] its running fine while i run it through cmd but when i open my …

Member Avatar for baig772
0
248
Member Avatar for atticusr5

Hello everyone, I am having trouble with getting jquery mobile not cache pages on the device. Does anyone know of a way to do this, I am COMPLETELY lost.

Member Avatar for pritaeas
0
66
Member Avatar for itpragan

Dear all, Link not showing as well not working in a tag with tinybox javascript ... Pls tell me solution ... here the code <a style="cursor:pointer;" target="_self" rel="modal" onClick="return addhospital();"> <img src="images/anh.png" alt="<?php echo $keyword; ?>"/></a> <script type="text/javascript"> function addhospital() { TINY.box.show({iframe:'addhospital.php?action=addform',boxid:'frameless',width:620,height:560,fixed:false,maskid:'bluemask',maskopacity:40,closejs:function(){closeJS()}} ) } </script>

0
56
Member Avatar for xuweisen

Hi, sorry for reposting my question, because I wrong place at php thread before.. this is my website [url]www.byouinternational.com[/url] That website is a website that I make with full ajax programming.. I feel my website is quite long time loading the ajax content.. What do you think? Is it slow? …

Member Avatar for xuweisen
0
170
Member Avatar for vijayram

Hey everyone. the following are my jquery coding.i maked the code for user onclick the schedule date display schedule.what is the error for following code.onlick no display event. plz help me. correct the code. $(document).ready(function(){ $(".calendar").click(function() { if ($(this).attr('days')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&day="+$(this).attr("days"), dataType: "json", success: function(list) { …

0
54
Member Avatar for vijayram

Hi all, Iam working on Event Calendar and events are populate from Database inside php Calendar Control now i have to display the details of events on mouse over of selected date and pageloading time dispaly current event . any Idea or code help is apperciated. which appraoch i have …

Member Avatar for vijayram
0
89
Member Avatar for Que336

hi I'm having serious problems with this code. It all started when I tried to use functions. The function easy() works fine when the page loads but the button has stopped calling the check() function. could it be because I have that stored inside another function? I tried placing outside …

Member Avatar for Troy III
0
1K
Member Avatar for Punny

What I mean is letting people see the page before linking so they know what's going to be on that page. Picture a small window taking a look at a page before you open it.

Member Avatar for Airshow
0
106
Member Avatar for welkam

Hello i am quite new to jQuery. I am trying to insert search results in to page without reloading it, but unsuccessful. Here is the code i am using: [CODE] $(document).ready(function(){ $("a").click(function(event){ $.get( "search.php", { query: "intel" }, function(data) { $('#content').html(data); } ); }); });[/CODE] i am using example form …

Member Avatar for mi.mac.rules
0
160
Member Avatar for fusionking

I am trying to create a number of panels that can expand and collapse like an accordion, but more than one can be open at one time. There's an image of an arrow that, when clicked, expands or contracts the panel. Each image of the said arrow has its own …

Member Avatar for fusionking
0
245
Member Avatar for ganesh641

Simple code for creating Password Strength program using JQuery Functionality in a Registration Form

Member Avatar for mi.mac.rules
0
148
Member Avatar for simplypixie

Sorry if the title of this thread doesn't make sense - I didn't know what to write :) I am using jQuery form validation and one of the rules is to check for a valid url. The field isn't required so am just validating formatting. This all works fine but …

Member Avatar for simplypixie
0
555
Member Avatar for kevindougans

Can anyone help me with "adapt.js" ([url]http://adapt.960.gs/[/url]) to set it up to include 2 css files instead of just 1. For example I need it to figure out I want to include /css/960.css, then i also want it to include /css/<= $pagename ?>/960.css Here is my current code (not included …

Member Avatar for kevindougans
0
232
Member Avatar for jstfsklh211

I hate websites that timeout and don't let you know about it this script pops up a message when you timeout and allows you to re-login in place

0
298
Member Avatar for Ksrinivas92

I am trying to create a webpage which does the following: 1)Has an image,which has an onclick javascript function f1() and an image map with a link pointing to a javascript function f2(); 2)updateAnim() is an "animation" it changes the image sources some 30 times 3)f2() is any function(trying with …

Member Avatar for Ksrinivas92
0
202
Member Avatar for mshdpotato

I got this PHP page where I get data from a database and turns it into a link through javascript. It works well on Google Chrome and IE but doesn't work at all on Firefox. Any idea why? Thanks a bunch :) [CODE] <script type="text/javascript"> function submitform(action) { document.forms("pSubCategory" + …

Member Avatar for stultuske
0
515

The End.