2,530 Topics

Member Avatar for
Member Avatar for Hawkeye Python

Hi! I don't know much about Java and I'm new to JQuery. I want to replace "+ Table" for "- Table" when the user clicks on it. For that I've used: [CODE]$(document).ready(function () { $('#table1_head').click(function () { $('#button1 a').replaceWith('- Table1'); }); });[/CODE] It worked. But I want to replace "- …

Member Avatar for Hawkeye Python
0
190
Member Avatar for ALFA-FOXTROT

I have this code in the general js file. [CODE] $("#tabs").tabs({ collapsible: true, cache: true, ajaxOptions: { error: function(xhr, status, index, anchor) { $(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo."); } } });[/CODE] And [CODE]$("#tabs").tabs( "remove" , 2 …

Member Avatar for ALFA-FOXTROT
0
670
Member Avatar for ansari.wajid

I am facing a unique bug on a website I am developing, Its occurring only for IE(I am using IE8) that too only on the online version of the site, On my local machine its working perfectly and on all other browsers(firefox, safari, and chrome) its working perfectly both on …

Member Avatar for ansari.wajid
0
225
Member Avatar for freshmem

hi everyone. i`ve been digging with jquery UI modal form. here is the link [url]http://jqueryui.com/demos/dialog/#modal-form[/url] i want to connect the jquery to my localhost,i mean when user create an account, it will be saved in my database.i`m facing some problems in it.. here`s my code.. [CODE] <div id="tabs-1"> <style> body …

0
236
Member Avatar for eefh01

Hi, I am working on submitting a form with various info to update on db using jquery, ajax. The db is updating perfectly when I disable JS on firefox. When enabled, a few fields (adID, userID, comments) are not updating on the db. The field userID updated as zero, but …

Member Avatar for Airshow
0
159
Member Avatar for kkjay

I need to know how to link (via a regular href anchor on a different page) to content that is inside a tab that is not the default tab. Can this be done? My code will explain hopefully what I require: My Code: The following is my profile_edit.php page: ----------------------------------------- …

Member Avatar for Airshow
0
299
Member Avatar for soft_coder

Hi! I have created a modal dialog using Jquery and I am opening an aspx page inside the modal dialog. The code is as follows: ASPX Page: [CODE]<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, …

Member Avatar for soft_coder
0
148
Member Avatar for Adam_C

Hi, I'm new to this forum so sorry if this maybe in the wrong section for some reason. Basically, what I am trying to do is call several ajax requests using jQuery on the same page, i know that all browsers are capable of requesting multiple requests. However in Chrome …

Member Avatar for Adam_C
0
190
Member Avatar for fantasma

I there everyone. I've been wondering if someone could help to glue up my broken head with this one. I've got some "labels" which show up, dynamicaly, the data coming from mySql through PHP. In those labels I've got 4 buttons for uploading an image, deleting the respective entry, editing …

Member Avatar for fantasma
0
191
Member Avatar for JPByD

I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at …

Member Avatar for JPByD
0
250
Member Avatar for minimogul

Hey everyone I was wondering what you guys thought about having a php slideshow on a website. Is is a good idea? Why or why not? Could I put user controls into it? What are its benefits or downfall versus a Jquery slideshow. Thanks in advance hope to hear you …

Member Avatar for tiggsy
0
190
Member Avatar for minimogul

Is having a php slideshow a bad idea. I was seeking your opinion because I dont know how many people are doing this already but with php everyone can view it. I want to know the drawbacks and advantages to both. Just hoping to get the best possible advice thank …

0
198
Member Avatar for soft_coder

Hi! I am trying to create a callout using jquery but somehow the code is not working. [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link rel="stylesheet" type="text/css" href="Scripts/Menu.css"/> <script type="text/javascript" src="Scripts/jquery.js"></script> <script type="text/javascript" src="Scripts/jquery.callout.js"></script> <!--<script type="text/javascript" src="jquery.callout-min.js"></script>--> <script type="text/javascript" src="Scripts/callout.js"></script> <title></title> </head> <body> <form id="form1" runat="server"> <ul id="myMenu" class="contextMenu"> <li class="insert"><a href="#insert" class="link" …

Member Avatar for Airshow
0
1K
Member Avatar for borillion

Im trying to implement JCarousel in my site and have some confusion about what to do, two files, one called similar_products_stack which contains the query: [CODE]<?php $similar_items = array(); $category_in_now = zen_get_products_category_id($_GET['products_id']); for($i=0;$i<4;$i++) { $products_query_raw = "SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_model, p.manufacturers_id, p.master_categories_id FROM " . TABLE_PRODUCTS . …

Member Avatar for Airshow
0
160
Member Avatar for soft_coder

Hi! I am a developer. I am using jquery to create a modal dialog. I am using the following code snippets. Please tell what is going wrong: [CODE]<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.7.custom.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.min.1.4.js"></script> <script type="text/javascript" src="jquery-ui.min.1.8.js"></script> <script type="text/javascript" src="jquery.min.1.3.2.js"></script> <script type="text/javascript" src="jquery-ui.min.1.7.2.js"></script> [/CODE] [CODE]$(document).ready(function () …

Member Avatar for soft_coder
0
148
Member Avatar for supahoopsa

Can anyone help with a problem with a JQuery Find? In the example below I want to find the select & text objects within Div1. Here is the HTML: [CODE]<div id="div1" style="border:solid 1px #c6c8dd; background-color:#ff0000; padding:5px;"> <div style="width:916px; padding-top:10px;"> <select id="Select1" runat="server"></select> : <input id="Text1" style="width:200px;" type="text"> </div> </div> [/CODE] …

Member Avatar for pritaeas
0
77
Member Avatar for soft_coder

Hi! I have created a modal dialog. When I close it the page refreshes automatically but in my scenario the page should not do so. The code I am using is: [CODE]$(document).ready(function () { $("#addaccount").dialog({ height: 'auto', width: 'auto', modal: true, autoOpen: false }); $("#addaccountlink").click(function (e) { $('#addaccount').dialog('open'); });[/CODE] Here …

Member Avatar for soft_coder
0
7K
Member Avatar for minimogul

found this code on this website cant find the url but if I find it i will post it The code is basically the same as the following.I want to be able to place links inside the tool tip I was wondering if there was a way i could do …

Member Avatar for Arkinder
0
189
Member Avatar for Aeterna

[CODE]function getUsers(column, id) { $.get('userlist.php', {column: column, id: id}, function(output) { $("#userlist").html(output); }); setTimeout(getUsers(column, id), 5000); }[/CODE] userlist.php checks for users online. i want it to check every 5000ms (for example, doesnt have to be that) Firebug is giving me 'too much recursion' errors. I've used this exact code structure …

Member Avatar for Airshow
0
118
Member Avatar for soft_coder

Hi! I am a developer. I am using jquery to implement various functionalities. I am using jquery.js with jquery-1.2.6.min.js. It shows an error in the following code snippet: (!q&&!n&&c.data(this,k,new c[l][k](this,p))._init()) as object expected when I debug the web application. I am a novice in this field. Any kind of help …

Member Avatar for soft_coder
0
283
Member Avatar for Acute

Hi everyone, can anyone explain me why following code [U]alerts[/U] me nothing: [CODE=javascript] var text = $.ajax({ type: "POST", url: "registration.php", data: "email=" + elementValue }).responseText; alert(text); [/CODE] but when I add option "async: false": [CODE=javascript] var text = $.ajax({ type: "POST", async: false, url: "registration.php", data: "email=" + elementValue …

Member Avatar for Acute
0
257
Member Avatar for valdrian_miran

How will I parse this XML using jQuery? <item> <station></station> <headline><![CDATA[]]></headline> <showDate>12/28/2010</showDate> <showTime></showTime> <doorsOpen></doorsOpen> <buylink></buylink> <description><![CDATA[]]></description> <pubDate>Mon, 27 Dec 2010 10:48:28 PST</pubDate> </item> I have to display month and date separately..

Member Avatar for parry_kulk
0
123
Member Avatar for xuexue

hi guys, just want to ask some question. i have two textboxes txt1 and txt2. these two possess jquery autocompletes within.. now, what i want to do is that this two are interconnected. Meaning, the values in autocomplete in txt2 will depend upon the values inputted in txt1. consider this …

Member Avatar for xuexue
0
194
Member Avatar for fantasma

Hi There I've been hammering my head with this for quite a while, and every solution I've tried didn't work, so I was wandering if you could help me with this. I've got a small div that is displayed for each record existing in the database, in order that, later, …

Member Avatar for fantasma
0
2K
Member Avatar for dennishall

Hi: I'm having an issue posting to MySQL using the animated_form.html below. My objective is to have 4 db entries posted to MySQL when the user clicks on the <a href="javascript: submitform()"><input alt="Show Results" id="btn_results" src="a_data/form_btn_show_results.png" type="image"></a> image. The form uses jquery and it produces 0 results in MySQL. Using …

Member Avatar for dennishall
0
203
Member Avatar for xuexue

hi guys, i already have and can make a autocomplete form using jquery plugin..it works fine..but the problem now is, i want the data to be stored in the database now, and not only in a javascript file..is it possible>? could you help me? here is my code.. [CODE] <script …

0
73
Member Avatar for MovingGifts

Hey everyone, I am trying to accomplish something with images growing on hover like the fancy grow mouseover effect on google images. Here is what I have: [URL="http://www.1stbusinessneeds.com/tooltip/tooltip.html"]http://www.1stbusinessneeds.com/tooltip/tooltip.html[/URL] The tooltip is offset and is based on the walter zorn tooltip. What's the best way to have the mouseover popup grow …

0
93
Member Avatar for simonquasar

hi guys! i've a mapped image and jquery in the following code, works fine with Chrome and Safari, but Firefox doesn't recognize the onclick function and I'm wondering why! [CODE]<img id="menu" src="/imgs/home/menuOK.png" border="0" align="left" usemap="Map_Menu"/> <map name="Map_Menu" id="Map"> <area shape="poly" coords="16,189,103,155,99,149,5,169" href="#" onclick="$('#contenuto').html('<iframe src=bio.php frameborder=no width=100% height=100% scrolling=no id=icontent><p>Your browser …

Member Avatar for simonquasar
0
234
Member Avatar for ptemedia

Hi, This may seem like a really easy fix but I'm new to JQuery and I've been staring at my code for ages now and can't find the solution. The code is for a two line navigation system. It works fine except when the user stops hovering over 'wrap' the …

0
73
Member Avatar for stevo356

Hi, I have a problem with setInterval (jquery). It works great, but I wan't the element to stop refreshing when a textarea is selected (so that users can insert text). Here is the refresh code I'm using currently. [CODE] $(document).ready(function() { $("#container").load("php/functions.php?page=wall"); refreshId = setInterval(function() { $("#container").load("php/functions.php?page=wall&r="+Math.random()); }, 1000); }); …

Member Avatar for Airshow
0
367

The End.