instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I want my div to show on top of everything I put 100% width and height and it show above a lot of control except some have css z-index and other things. I tried to set the div z-index to a big number but this did not work. { width: 100%; height: 100%; top: 5px; left: 0px; background-color: #FFFFFF !...
stackexchange/codereview
I'm making an app, that is using one droppable div and a few draggable divs. How can I make the droppable to not accept more than one draggable div? I Googled, but didn't find any workaround. A workaround came up in mi mind. How can i check is there's dropped element in this droppable div? If it's busy then revert thi...
stackexchange/codereview
I have an loaded some XML in an XMLDocument object. I am iterating through the document by using an For Each node As XmlNode In doc.GetElementsByTagName("Item", [NAMESPACE]) 'Do Stuff Next I would like to use xpath within this loop to pull out all nodes with the name of "MyNode" I would have thought i would simply...
stackexchange/codereview
I was trying to create a popup logon form for a site I'm working on so I decided to give facebox a try. The logon pops up ok, but the submit button and required validators are not firing. This is within the master page and is contained with a Progress Panel. In the page header, I have: <script type="text/javascript">...
stackexchange/codereview
I'm using IPBoard CMS that comes with prototype and I use the latest jQuery. I've implemented a jQuery gallery picture viewer: - It works fine on Chrome and Firefox. - I have troubles with Opera and IE 8. I've created a minimal example here: http://www.warriorlabs.net/index.php?app=ccs&module=pages&section=pages&folder...
stackexchange/codereview
I want to use Propel as a Standalone Library just as Qcodo or Doctrine e.g. without using Pear or Phing. I want to run both the generator and runtime in a Phing Free and Pear Free Environment. Is that Possible ?
stackexchange/codereview
How can I draw myname (or any string) on the wall paper of mobile through a J2ME program?
stackexchange/codereview
I would like to add TabItems to a TabControl dynamically with a standard ContentTemplate comprising of a grid and few other input controls like textbox and button. Can someone pls help me achieve this? Also, if I try to load data from a WCF service asynchronously to the grid, there will definitely be a time lag. So how...
stackexchange/codereview
I have a DataGridView with a DataGridViewCheckBoxColumn column, which is databound to a list. The problem is that the databound boolean property for this checkbox is updated not when the check box is checked/unchecked, but after the CellLeave event in other words after the cell looses focus. I want this property to be ...
stackexchange/codereview
I am trying to find the time taken by the Java code to run, I am creating some huge object and want to track the time to the precision of nano seconds, if I use regular time stamp it says the code compiled in 0 seconds. Thanks
stackexchange/codereview
I'm working with dynamic fields in ASP.NET due to a very specifc and rigid end-user requirement that would take 2 hours just to explain. Suffice it to say, I can't make the requirement go away. Anyway, I have a working solution in place; no problems with controls loading, rendering or maintaining their ViewState. T...
stackexchange/codereview
I've been reading tutorials, but one thing I'm not seeing is this: If you're writing a complex application where new windows pop up as a result of button clicks on a main window, should each top level window be a separate glade file, or is there a way to keep all the interface design in one glade file? If so, how do yo...
stackexchange/codereview
What does %.8Ff format specifier in printf do?What does F mean?
stackexchange/codereview
Note: Although I use a zipcode database with Dutch zipcodes, this question is country independent. I have a database with every zipcode in the Netherlands + its x and y coordinate (lat/long). I have for example zipcode: $baseZipCode = 1044; with the following coordinates: x coordinate = 4,808855 y coordinate = 52,40633...
stackexchange/codereview
I have declared my c# application constant this way: public class Constant public struct profession { public const string STUDENT = "Student"; public const string WORKING_PROFESSIONAL = "Working Professional"; public const string OTHERS = "Others"; } public struct gender { public const string MALE = "M"; ...
stackexchange/codereview
In my app I allow users to add new rows of NSStrings to a UITableView. I save these new strings in an NSMutableArray *dataArray So for numberOfRowsInSection I return [dataArray count], but it seems to just return 0 all the time so my table is not auto-populating. If it helps, when I do an NSLog of [dataArray count] as ...
stackexchange/codereview
Sometimes I have complicated find procedures and I'm feeling dirty to repeat this code in my Controller. Now I am thinking, it is possible to do something like this: class User extends BaseUser { private static function getTable() { return Doctrine_Core::getTable('User'); } public static funct...
stackexchange/codereview
I want to generate thumbnail image from a flash file, Is there any library to do this? Many thanks
stackexchange/codereview
I'm already connected to the server via SSH. How can I transfer files from it to the machine I'm connected from using SCP and the current SSH connection?
stackexchange/codereview
Has anyone come across a clean way to post tweets in wordpress with the use of a plugin. I would like to have the flexibility to pull at least the top 5 and only display tweets with the assigned hash tag. Many thanks
stackexchange/codereview
I was wondering if i build this google analytics query the right way. I am not sure about the 'utmcc'-Part. 0 => string 'http://www.google-analytics.com/__utm.gif?utmwv=4.5.7' (length=53) 1 => string 'utmn=738025229' (length=14) 2 => string 'utmhn=www.mydomain.de' (length=15) 3 => string 'utmcs=ISO-8859-1' (len...
stackexchange/codereview
I've created some tables in postgres, added a foreign key from one table to another and set ON DELETE to CASCADE. Strangely enough, I have some fields that appear to be violating this constraint. Is this normal behaviour? And if so, is there a way to get the behaviour I want (no violations possible)? Edit: I orginaly c...
stackexchange/codereview
Is there any tool that could be used to generate some code for apache Axis2 from a (my)sql schema. For example, the following schema: desc name; +-------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+------------------+------+-----+---------+---...
stackexchange/codereview
I find I waste a lot of time closing and reopening sets of files so I'd like to improve my VIM macro for loading and saving the session to support multiple sessions. I'd like for it to prompt for a string value, so that I could press my shortcut, then type in for example "foo", and have my macro save the session to .fo...
stackexchange/codereview
So right now it all looks pretty with ... <button type="submit" runat="server" name="subscribe" id="Button1" class="link-button" onserverclick="saveListing"> Until it is time to validate the data before calling saveListing function codebehind (in VB .Net). How can true/false be return so that when true saveListing wil...
stackexchange/codereview
Right now I'm getting this strange problem where when I use jQuery's animate() function on a <div> it removes the ability to scroll. I'm adjusting the height with animate(). This problem only comes up with IE and works fine with Chrome and FF. Below is my css class for my div div.fullscroll{ height: 65%; width: 7...
stackexchange/codereview
Due to the joys of UAC, I need to open an elevated command prompt programmatically and then redirect the standard input so I can use the time command. I can open the link (a .lnk file) if I use Process ecp = System.Diagnostics.Process.Start("c:/ecp.lnk"); however, if I use this method, I can't redirect the standardIn...
stackexchange/codereview
I'm using fbconnect in my app to connect to Facebook. Whenever i code a feature, I must google to find the form like below: ////// NSString *event = @"{\"name\":\"A party\",\"start_time\":\"1215929160\",\"end_time\":\"1215929160\",\"location\":\"Somewhere\"}"; NSDictionary *params = [NSDictionary dictionaryWithObject:e...
stackexchange/codereview
So I am creating an iPhone app that records video using AVFoundation and I need to be able to stream that to a RTMP Media Server. Any ideas/thoughts? Thanks in advance. Jim
stackexchange/codereview
Is there any way to implement 33 bit unsigned integer for gcc compiler? As of now I am using unsigned 64 bit integer to store 33 bit value. But unfortunately i want the value to be reset after it reaches full 33 bits...
stackexchange/codereview
First of all - i googled the problem, and nothing good related seemed to come up. Also it will probably seem to you that this question is a newbie one (and i must say i never had this problem when printing files in a directory. I am pretty new to WPF in C#. so.. I am having problems to Print all files in directory that...
stackexchange/codereview
I'm curious about the best/most efficient way to do this. I've already set up my sharepoint 2010 site, and it is configured to use FBA. What i'd like to do is allow users to create their own accounts by filling out a form (the form will sit on a public sharepoint site, and filling it out creates a user in the membersh...
stackexchange/codereview
I am trying to use jQuery to respond to changes in the url after the #. I've done some searching, but I don't think I'm using the right search terms. To be clear, I want to be able to provide external links to a page like so: <a href="example.com/foo/#home">home</a> and to include internal links to change the content ...
stackexchange/codereview
I want to make a Google App Engine app that does the following: Client makes an asynchronous http request Server starts processing that request Client makes ajax http requests to get progress The problem is that the server processing (step #2) may take more than 30 seconds. I know that you can't have threads on Goog...
stackexchange/codereview
For my job, I've been writing an iPad application that the user can enter data into, view some pictures, etc. It's been annoying me that I'm reaaaallly slow at writing in Obj-C and I find myself bogged down in the UI (an example would be I always have to put in a UITableView which is time consuming...) I think that I h...
stackexchange/codereview
I am loading content into a UIWebView via a string : - (void)viewDidLoad { [super viewDidLoad]; NSString *html = [[[NSString alloc] initWithFormat:(@"<html><head><style type=\"text/css\">body { text-overflow: ellipsis; font-size: 14px;width: 300px;font-family: Helvetica, Verdana, Arial;}table {text-overflo...
stackexchange/codereview
I need to convert a given date to an int containing the number of milliseconds since Jan 1 1970. (unix epoch) I tried the following code: tm lDate; lDate.tm_sec = 0; lDate.tm_min = 0; lDate.tm_hour = 0; lDate.tm_mday = 1; lDate.tm_mon = 10; lDate.tm_year = 2010 - 1900; time_t lTimeEpoch = mktime(&lDate); ...
stackexchange/codereview
If i have a loop such as users.each do |u| #some code end Where users is a hash of multiple users. What's the easiest conditional logic to see if you are on the last user in the users hash and only want to execute specific code for that last user so something like users.each do |u| #code for everyone #conditio...
stackexchange/codereview
I am building and Advantage AEP to run on a Win 2008 server (64bit). I'm developing the AEP in VS2008 on a 32-bit machine. Building for Any CPU and testing using Local Server works just fine. When I Build for x64, VS2008 gives this error. Error 1 File "C:\Projects\Experiment\AdvantageTrigger1\bin\x64\Release\ADSUpdateT...
stackexchange/codereview
Dear fellow go enthusiasts, I would need xslt support in a go program. As far as I know there will be no xslt library in the the near future and currently there is no binding to a xslt library in go. What is the FASTEST library on linux or cross platform to do 1) xslt 1.0 transformation 2) xslt 2.0 transformation
stackexchange/codereview
Alright I am working on a system for managing a bunch of vps. This includes mundane maintenance tasks as well as resource allocation. In order to accomplish this my control server will need to be connecting to the various servers. I regularly use ssh public/private key and this seems like the most logical way to connec...
stackexchange/codereview
I was wondering how they made it possible to display more fields in the User page of the Django admin site. If you create a new User you only have some basic fields to fill in, but if you reopen that user (edit mode) then you see a lot more fields to fill in. I'm trying to achieve the same, I had a look at the add_form...
stackexchange/codereview
In my app I have a custom UIView subclass (let's call it MyView) which contains three buttons and two labels. I add this view to a view controller which also has a table view (I add the instance of MyView at the bottom). Because of the business logic rules, the labels and one button out of three are hidden in the begin...
stackexchange/codereview
How do I parallelize my F# program using SSE3 instruction set? Does the F# compiler support it?
stackexchange/codereview
I am looking to create the animation like the one used in the photo app for iPad/iPhone for deleting a photo. The photo needs to move to the recycle bin. Is this a standard animation? Or do we need lots of coding?
stackexchange/codereview
I've looked through all IBM doc and Adobe livedocs, My labels for my columns which are loading dynamically are not centered properly under the columns. Here is the component code. The labels are off center to the left, and some overlap the one left of where it should be. I tried adding styles to several different area...
stackexchange/codereview
Possible Duplicate: List of 1-indexed programming languages? Besides AWK, are there other programming languages where indexing starts at 1 instead of 0?
stackexchange/codereview
I have a C-program (an Apache module, i.e. the program runs often), which is going to write() a 0-terminated string over a socket, so I need to know its length. The string is #defined as: #define POLICY "<?xml version=\"1.0\"?>\n" \ "<!DOCTYPE cross-domain-policy SYSTEM\n" \ "\"http://www.adobe.com/xml/dtds/cross...
stackexchange/codereview
I am making an application which have to be used in different pc's, and it has to share the same database. I have no idea how to do it. I am using the java as programming language and mysql as database. Please help me to do this task...
stackexchange/codereview
I would like to display the time-stamp of when the application was built in an about box. This will allow me tracking different versions of the application. How can I retrieve this information in Java?
stackexchange/codereview
I have a question as the title,I wanna get the products which appeared in every Warehouse, I have no idea when i thought long time,i found i am so beetleheaded, Thare are three tables in my sql server database: Product ( productID, name,model, size, color ) Warehouse ( warehouseID, name, address ) Invento...
stackexchange/codereview
As an amateur to anything lower than VB/VBS (C++ WINAPI is a nightmare for someone of my experience) I have no idea how to go about constructing the long lParam for a simple KEYDOWN message in C++ and have probably spent more time looking for a decent explanation than is worth, would someone be able to describe exactly...
stackexchange/codereview
i'm very new to sencha.i have a bit problem in accessing the data from framework.. what i planned is to access the attribute "selectedIndex" from the class Ext.Picker.Slot so that i can place it the index.js file and loop the "selectedIndex" attribute so that i can create a rotating effect to my list , i'm trying to dy...
stackexchange/codereview
Suppose i have an xml document like this XML File: <document> <educationalsection> educational details </educationalsection> <professionalsection> professional section details </professionalsection> </document> I have created XSL to converge it into my required format but the problem is if i want to chang...
stackexchange/codereview
I'm trying to update values using JDBC and I continue to get the same error for different tables and with different schemas. Let's say that I have a table like this +----------------+-------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------------+---------...
stackexchange/codereview
In PHP one can use variable variables... For example... class obj { } $fieldName = "Surname"; $object = new obj(); $object->Name = "John"; $object->$fieldName = "Doe"; echo "{$object->Name} {$object->Surname}"; // This echoes "John Doe". However, $fieldName string may contain some characters not allowed in variable n...
stackexchange/codereview
how do I deny blank spaces (" ") using Enterprise Library validation? [StringLengthValidator(1, RangeBoundaryType.Exclusive, 100, RangeBoundaryType.Inclusive)] allows them. Thanks.
stackexchange/codereview
Is it possible to use zend_application and zend_bootstrap as non mvc? I'd like to use them but without the zend_view.
stackexchange/codereview
Current C# POS.NET Printing Issue: PrintNormal() Throws Exception = 'It is not initialized' CheckHealth = 'It is not initialized' 'It is not initialized' exception when Printing to Epson TM-T88IV Using POS for .NET 1.12 and the Epson OPOS ADK for .NET (v1.11.9) service-objects Successfully able to Open, Claim...
stackexchange/codereview
I have a class with several methods I must run in an specific order. So, I created a kind of chain where each one calls the next in its last sentence (sometimes with calls, sometimes dispatching events): internal function a(evt:SwapEvent):void { //started from custom event ... b(); } private function b():void { ...
stackexchange/codereview
I'm not sure if this is where I need to be asking this question, but here it is. My company is preparing to release a software program in the format of PIN cards (similar to phone cards). Each card will have a PIN on it under a scratch panel. The PIN can then be used to download the software program from our website. ...
stackexchange/codereview
I am having trouble getting Visual Studio 2008 remote debugger to hit break points. I have two VMWare virtual machines. One hosts the SharePoint MOSS 2007 Shared Services and Central Admin and has Visual Studio 2008 Professional on it as well. I am using WSPBuilder to structure and deploy my web part. The other mac...
stackexchange/codereview
The Core Data documentation says that objects may fault to save memory if needed. What happens if you have an object that has a property that is not a managed property? For example, say you have a Department class, that is a subclass of NSManagedObject. It has a location iVar + accessors. The location property is not a...
stackexchange/codereview
I have a class called 'Inventory' that has two subclasses, 'Drink' and 'Condiment'. They are a part of a software system being developed for use in a hot drinks vending machine. Note that this isn't really going to be implemented, rather it is a piece of coursework for my Software Engineering class. Anyway, I'm having ...
stackexchange/codereview
I have a couple messaging scenarios I need help with using RabbitMQ 2.1.0 in c#... 1) I would like to have a subscriber listening to "raw" queue; then do some preprocessing and publish a new message, such as "preprocessed" to the same exchange. 2) similar to 1 but publish to a different exchange I noticed in the .Net C...
stackexchange/codereview
Why this code does not work ? I want save dom after js execute at this page and i want use qt without gui. Sorry for my English. #coding:utf-8 from PyQt4 import QtCore, QtWebKit class Sp(): def save(self): print "call" data = self.webView.page().currentFrame().documentElement().toInnerXml() ...
stackexchange/codereview
I believed jQuery had it, but now I see the lightbox of jQuery isn't the actual cool one. I'm talking about this light box in particular: http://tapbots.com/software/convertbot/ (click on the play video button, and the lightbox appears). They seem to use exactly the one I'm searching, but have modified some of the grap...
stackexchange/codereview
I'd like to open a new email page, in Lotus Notes (I know I know, I hate it too...) from a WinForm (.NET) application. Right now, I have found this that uses Interop.Domino.dll very useful. I adapted it a little and it works. Unfortunately, I don't want the email to be sent. I just need to open a new mail window with t...
stackexchange/codereview
I am creating a form where i have to populate "X" form elements (text-fields to be specific) based on values in the database (X number of elements, properties of each element etc). Is there a way to do this using the Drupal Form API or should i start from somewhere else. I tried using a for() loop in the form generati...
stackexchange/codereview
I have installed libssl-dev and openssl but I get this when I install node.js: > ./configure && make && make install Checking for program g++ or c++ : /usr/bin/g++ ...
stackexchange/codereview
In my website i have a script that return the current song that playing from my shoutcast server in a format of: "artist-track", what i want to do is to take that string and split it to 2 strings: artist and track, in order to do that i wrapped the script in server tag like this: <div id="nowPlaying" runat="server">...
stackexchange/codereview
I believe that rails 3 support for windows is not released yet. Can I use Netbeans IDE and start working with Rails 3 in windows operating system ?
stackexchange/codereview
So say you have some navigation, and you don't/can't use server side code to choose which link is "current". How can you use the first part of the url (as in after the first slash but before any next slash) i.e. (example.com/dashboard/view/16) would return dashboard. Of course there's not always a second slash, it coul...
stackexchange/codereview
I have a DataGridView where each row has a checkbox in it. I only want the selected row to change when the user clicks on one of the text cells. However, if a checkbox is clicked I would still like to have the checkbox change its state and catch this event. I have searched everywhere and found a couple of solutions t...
stackexchange/codereview
Is there an empty keyword in Struts 2 (like in JSP)? For example in JSP I write: <c:if test="${empty var}"> Thanks
stackexchange/codereview
I’m running an application on a stand-alone tomcat 6 server on a Windows box. I want it to be able to request and receive client certificates from DoD CAC cards. I have a client machine running IE that set up correctly to pass the certs from a CAC card, I know its correct because when I go to a CAC enabled site IE p...
stackexchange/codereview
I have switched to Mac as my main development machine (coming from Fedora) and was just curious as to what people used as there development folder structure. For example in Fedora I always had ~/opt for user programs ~/src for source code I was working on and ~/bin for files I constantly executed. Is there a Mac de fac...
stackexchange/codereview
I am having the following data structure: [DataContract] public class OperationResult<T> { public OperationResult() { } [DataMember] public Int32 OpResult { get;set; } [DataMember] public IList<T> OperationResults { get;set; } public static OperationResult<T...
stackexchange/codereview
Does a JOIN query under SQL Server always spawn an new thread? In general how does SQL Server control thread spawning? Thanks, -peter
stackexchange/codereview
We are working on a unique eCommerce site. This site is distinctive because when a purchase is made its not made by one person, but a group or "Collaborative" decisions. Individuals can add items to the shopping cart, but in the end the purchase is decided by the group in a “Collaborative” effort or Team Effort. So ea...
stackexchange/codereview
This issue has me stumped. It's happened three times in the last 12 months on our production server and causes major issues when it does. Any help would be appreciated. We have a .NET Windows Service that sends HTTP requests to a third-party server. "Something" happens and the next 2-3 requests fail with server error 5...
stackexchange/codereview
I am new to Linux and was introduced to the "&" recently. I have to run several traceroutes and store them in a single file, and I am curious if I am able to kick off these traceroutes in parallel? I tried the following but the results in the generated file, are not kept apart? Well, that is what it seems to me. tra...
stackexchange/codereview
Does feature stappling is allowed in custom web templates for SharePoint 2010?If not , I guess I need to use the feature receiver to activate features?
stackexchange/codereview
I've been at this all day long and honestly I'm out of ideas. I have some WMS layers that I would like to display/not display depending on the current zoom level. Yes, I have went through the API docs and they seem to be clear as day, but I follow everything that is suggested and I'm not getting the results desired :...
stackexchange/codereview
NetBeans has a helpful (to me anyway!) feature under the "Views" menu, called "Synchronize Editor with Views". As the name suggests, toggling this on will cause the navigator view to jump straight to a file when it's opened in the editor. I generally prefer this to the normal "Ctrl+Shift+1" shortcut for manually jumpi...
stackexchange/codereview
How many files can a windows server 2008 r2 directory safely hold? I'm thinking in terms of a website that has image galleries. Say there is one directory that holds all the thumbnails and a different directory that holds the full size images. How many pairs of images can be safely stored? Or, if there isn't a good cut...
stackexchange/codereview
I need to draw some execution sequences for some real time systems scheduled using rate monotonic algorithm. The drawing has to be done using Java and it has to be very basic. Do you a very simple way to do this drawing? Simpler than Graphics2D? Thanks a lot! The diagram I want to be as simple or even simpler as this o...
stackexchange/codereview
I am using IsDirty to check for changes in my FCKeditor. Unfortunately, it seems that its functions are asynchronous. Here is the failing code: var txtObj = $('activities').EstActText1.id; var oEditor = FCKeditorAPI.GetInstance(txtObj); oEditor.SetHTML(jsonObj.DATA.ESTACTTEXT1.toString()); oEditor.ResetIsDirty(); The...
stackexchange/codereview
I use combnk to generate a list of combinations. How can I generate a subset of combinations, which always includes particular values. For example, for combnk(1:10, 2) I only need combinations which contain 3 and/or 5. Is there a quick way to do this?
stackexchange/codereview
We have floor plans of a building in the DB in PNG format. We am using arcGIS flex api. We want to build something like http://www.laudontech.com/officeplans/ How can we load my building floor plan onto the arcGIS flex map. Please let me know. Thanks, Vish.
stackexchange/codereview
I have to build a software editor for Java, so think of just a very simplified Netbeans / Eclipse. The first area which I want to do is the Syntax Highlighting. I found a few libraries / open source editors such as jEdit, BlueJ and jsyntaxpane which will be useful for building my own. What I am looking for though is a...
stackexchange/codereview
I have variable which has value "abcd.txt". I want to store everything before the ".txt" in a second variable, replacing the ".txt" with ".log" I have no problem echoing the desired value: a="abcd.txt" echo $a | sed 's/.txt/.log/' But how do I get the value "abcd.log" into the second variable?
stackexchange/codereview
I have a list of dates stored in a MYSQL table, the idea is if the following field has valued 'completed' the row's date is unselectable in the jQueryUI datepicker. The dates are stored in the format YYYY-MM-DD.. how would I go about loading these 'completed' dates into a PHP array in a format for the datepicker to und...
stackexchange/codereview
If I set an NSUserDefault in one file(playerdata.m) could I access that value from another file(calculator.m)?
stackexchange/codereview
Admittedly, there are similar questions lying around on Stack Overflow, but it seems none quite meet my requirements. Here is what I'm looking to do: Upload an entire form of data, one piece of which is a single file Work with Codeigniter's file upload library Up until here, all is well. The data gets in my database ...
stackexchange/codereview
Does anybody know of a 3rd party profiler for XCode with the iPhone? I really don't like instruments, it's a pain to try to figure out whats going on. Allocations and leaks are fine, its just the CPU Sampler that I don't like. I really liked Shark but they have stopped updating that and it doesn't work with iOS4.
stackexchange/codereview
With the recent loosening of the Apple Developer licence on third-party development platforms, I have had a brief look into app development with Monotouch and Flash CS5 but am unsure of which to develop with. I am competent in both C# and ActionScript so the language isn't so much the issue (but i dislike objective-c s...
stackexchange/codereview
I have read another post/question regarding jquery variables and it was useful but I'm still having trouble understanding... Below is a bit of code from a simple tabbed content functionality that I'm modifying. Please could someone explain why this works: $tabMenuItem.click(function() { var activetab = $(this)...
stackexchange/codereview
I'm using the ckeditor 3.4 as text editor for my website, and want to validate the data at client side first, before submitting the data to server. I can get the data of editor by using this code: var editorData = CKEDITOR.instances.editor1.getData(); but having trouble to validate data. The problem is: - The data sh...
stackexchange/codereview
Table1: id - name - address ----------------------------- 1 - Jim - Some Street 2 - Adam - Some Street 3 - ABC - Some Street Table2: id - job - finished_by --------------------------- 1 - ABC - 2 2 - EFD - 3 3 - XYZ - 2 4 - BVC - 1 In the above two tabl...
stackexchange/codereview